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/BlockRule/index.html

Module Lib.BlockRuleSource

Block-level rule

Sourcetype 'state res =
  1. | Go of {
    1. state : 'state;
    2. handle_line : [ `Keep | `Discard ];
    }
  2. | Stop of {
    1. state : 'state;
    2. handle_line : [ `Keep | `Discard | `Left ];
    }
  3. | Die
Sourcetype trans_f = {
  1. trans_spans : string -> Typ.span list;
  2. trans_spans_from_lines : string list -> Typ.span list;
  3. trans_blocks : string list -> Typ.block list;
}
Sourcemodule type S = sig ... end

Signature for a block-level rule

OCaml

Innovation. Community. Security.