package printbox-md

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Output Markdown.

  • since 0.9
module Config : sig ... end
val register_extension : key:string -> (Config.t -> PrintBox.ext -> string) -> unit

Add support for the extension with the given key to this rendering backend. Note: the string returned by the handler can have line breaks.

val pp : Config.t -> Format.formatter -> PrintBox.t -> unit

Pretty-print the Markdown source code into this formatter.

val to_string : Config.t -> PrintBox.t -> string

A string with the Markdown source code.

OCaml

Innovation. Community. Security.