package jupyter-kernel

  1. Overview
  2. Docs

Module Jupyter_kernel_document.DocumentSource

Simple Formatted Document

Sourcetype 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
]
Sourceand t = block list
Sourceval section : string -> block
Sourceval paragraph : string -> block
Sourceval paragraph_f : ('a, Format.formatter, unit, block) format4 -> 'a
Sourceval pre : string -> block
Sourceval pre_f : ('a, Format.formatter, unit, block) format4 -> 'a
Sourceval list : t list -> block
Sourceval indent : string -> t -> block
Sourceval pp : Format.formatter -> t -> unit

Regular pretty printer