package kkmarkdown

  1. Overview
  2. Docs
A safe markdown engine

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
md5=cc8056af18a204bf68d60f50be5a9de7
sha512=452ef12429aa68606e79b82d883275abd05659fec52509dfa18d7de0edcfa0afba7fa9001d9643c5ad072a494ad8593c6f127e382b06d6c224964b3a7969f388

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.