Module Odoc_markdown.Renderer

val is_control : char -> bool
val is_letter : char -> bool
val is_digit : char -> bool
val is_alphanum : char -> bool
val block_line_of_string : String.t -> string list
type label = {
  1. key : string;
  2. text : string list;
}
module Inline : sig ... end
module Block : sig ... end
type doc = Block.t
module Heterogeneous_dict : sig ... end
type t = {
  1. init_context : context -> doc -> unit;
  2. inline : inline;
  3. block : block;
}
and context = {
  1. renderer : t;
  2. mutable state : Heterogeneous_dict.t;
  3. b : Buffer.t;
}
and inline = context -> Inline.t -> unit
and block = context -> Block.t -> unit
module Context : sig ... end
type indent = [
  1. | `I of int
  2. | `L of int * string * int * Uchar.t option
]
type state = {
  1. newline_to_output : string;
  2. mutable start_of_text : bool;
  3. mutable identation_stack : indent list;
}
val get_state : context -> state
val init_context : context -> 'a -> unit
module Char_set : sig ... end
val esc_parens : Char_set.t
val esc_quote : Char_set.t
val esc_dquote : Char_set.t
val buffer_add_dec_esc : Buffer.t -> char -> unit
val buffer_add_bslash_esc : Buffer.t -> char -> unit
val buffer_add_escaped_string : ?esc_ctrl:bool -> Buffer.t -> Char_set.t -> String.t -> unit
val escaped_string : ?esc_ctrl:bool -> context -> Char_set.t -> String.t -> unit
val buffer_add_escaped_text : Buffer.t -> String.t -> unit
val escaped_text : context -> String.t -> unit
val nchars : context -> int -> char -> unit
val newline : context -> unit
val push_indent : context -> indent -> unit
val pop_indent : context -> unit
val indent : context -> unit
val escaped_tight_block_lines : context -> Char_set.t -> String.t list -> unit
val block_lines : context -> string list -> unit
val break : context -> unit
val code_span : context -> string list -> unit
val emphasis : context -> Inline.t -> unit
val strong_emphasis : context -> Inline.t -> unit
val image : context -> Inline.link -> unit
val text : context -> String.t -> unit
val inline : context -> Inline.t -> unit
val blank_line : context -> string -> unit
val string_node_option : context -> string option -> unit
val code_block : context -> Block.code_block -> unit
val heading : context -> Block.heading -> unit
val html_block : context -> string list -> unit
val unordered_item : context -> string -> Block.t -> unit
val ordered_item : context -> int -> Block.t -> int
val unordered_list : context -> Block.t list -> unit
val ordered_list : context -> Block.t list -> unit
val paragraph : context -> Inline.t -> unit
val table : context -> Block.Table.t -> unit
val block : context -> Block.t -> unit
val to_string : doc -> string