package kkmarkdown
A safe markdown engine
Install
Dune Dependency
Authors
Maintainers
Sources
1.1.0.tar.gz
md5=a20517d95590d03ff5b7670323b8b0dd
sha512=97b3faa09e23ab88c5b4dcabe88f29e5c675b6bb4b0c9230ec105a70b01b37b54274cc0ab4a5eed84a754a99e3664e116a7aba6c9697e3669229985f1bf749be
doc/src/kkmarkdown.lib/SpanRuleEscape.ml.html
Source file SpanRuleEscape.ml
1 2 3 4 5 6 7 8 9 10
let is_safe = true let first_char = FirstChar.One '\\' let re = Str.regexp "\\\\\\([]\\\\`\\*_{}[()#\\+\\.!-]\\)" let construct _ ({ SpanRule.s; cur } as state) = if Str.string_match re s cur then ( let c = Str.matched_group 1 s in state.cur <- Str.match_end (); Some (Typ.CharSpan c.[0])) else None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>