package kkmarkdown

  1. Overview
  2. Docs

Link: e.g. <https://kkeun.net>

For simplicity, the https:// prefix is omitted in the translated result, i.e. the example above is translated to

<a href="https://kkeun.net">kkeun.net</a>

Note that the link address must start with https:// or http://.

val is_safe : bool
val first_char : FirstChar.t
val 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.