package hilite
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Build time syntax highlighting
Install
dune-project
Dependency
Authors
Maintainers
Sources
hilite-0.5.0.tbz
sha256=550c01abe4a95808553693499dcb75ef87bd86127db8f3db1f94a81689e13a15
sha512=b42375e1dd288fc3795c570be2b94486aa91c499c5b6a2cff936d530d6864b57f0269deb73a7f333339e41e89b4cd0452655ff7c40f58360cea13efaee645115
doc/hilite.markdown/Hilite_markdown/index.html
Module Hilite_markdownSource
The markdown hilite library depends on Cmarkit. It provides a convenience function transform that maps over markdown documents converting code blocks into HTML with highlighted syntax.
Source
val transform :
?skip_unknown_languages:bool ->
?lookup_method:Hilite.tm_lookup_method ->
?tm:TmLanguage.t ->
Cmarkit.Doc.t ->
Cmarkit.Doc.ttransform ?tm md will extract code blocks from md and replace them with HTML code blocks with syntax highlighting spans.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>