package jupyter-kernel

  1. Overview
  2. Docs

Module Jupyter_kernel_document.Document

Simple Formatted Document

type block = [
  1. | `S of string
  2. | `P of string
  3. | `Pre of string
  4. | `I of string * t
  5. | `L of t list
  6. | `Tbl of string list * t list list
]
and t = block list
val section : string -> block
val paragraph : string -> block
val paragraph_f : ('a, Format.formatter, unit, block) format4 -> 'a
val pre : string -> block
val pre_f : ('a, Format.formatter, unit, block) format4 -> 'a
val list : t list -> block
val indent : string -> t -> block
val pp : Format.formatter -> t -> unit

Regular pretty printer