package kkmarkdown

  1. Overview
  2. Docs

Module Lib.SpanRuleEscapeSource

Escaped character: HTML special characters, e.g. &, <, etc., are translated to &amp;, &lt;, etc. The following characters should be escaped by backslash in markdown.

[ ] \ ` * # _ { } ( ) + - . !
include SpanRule.S
Sourceval is_safe : bool
Sourceval first_char : FirstChar.t
Sourceval construct : (string -> Typ.span list) -> SpanRule.state -> Typ.span option

Try to apply a rule. The first parameter is the (recursive) function that parses a string as a span list.

OCaml

Innovation. Community. Security.