rehype plugin to highlight code blocks in HTML with Prism (via refractor) with line highlighting and line numbers
Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.6.3...v2.0.0
Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.6.2...v1.6.3
Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.6.1...v1.6.2
Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.6.0...v1.6.1
{defaultLanguage: 'py'}
or your most commonly used language and save the hassle of specifying it at every code block level. Note that defaultLanguage
takes precedence over the ignoreMissing
setting. The defaultLanguage
should be registered with refractor, otherwise the plugin will throw an error message.Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.5.1...v1.6.0
Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.5.0...v1.5.1
Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.4.3...v1.5.0
Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.4.2...v1.4.3
Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.4.1...v1.4.2
Full Changelog: https://github.com/timlrx/rehype-prism-plus/compare/v1.4.0...v1.4.1