package kkmarkdown

  1. Overview
  2. Docs
A safe markdown engine

Install

Dune Dependency

Authors

Maintainers

Sources

1.1.0.tar.gz
md5=a20517d95590d03ff5b7670323b8b0dd
sha512=97b3faa09e23ab88c5b4dcabe88f29e5c675b6bb4b0c9230ec105a70b01b37b54274cc0ab4a5eed84a754a99e3664e116a7aba6c9697e3669229985f1bf749be

doc/kkmarkdown.lib/Lib/SpanRuleEscape/index.html

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.