kkmarkdown.lib
Lib.BlockRule
Block-level rule
type 'state res =
| Go of {
state : 'state;
handle_line : [ `Keep | `Discard ];
}
| Stop of {
handle_line : [ `Keep | `Discard | `Left ];
| Die
type trans_f = {
trans_spans : string -> Typ.span list;
trans_spans_from_lines : string list -> Typ.span list;
trans_blocks : string list -> Typ.block list;
module type S = sig ... end
Signature for a block-level rule