package cmarkit

  1. Overview
  2. Docs

Paragraphs.

type t

The type for paragraphs.

val make : ?leading_indent:Layout.indent -> ?trailing_blanks:Layout.blanks -> Inline.t -> t

make inline is a paragraph with given parameters.

val inline : t -> Inline.t

inline p is the paragraph content.

val leading_indent : t -> Layout.indent

leading_indent p is the indent on the first line (0-3).

val trailing_blanks : t -> Layout.blanks

trailing_blanks are trailing blanks on the last line.

OCaml

Innovation. Community. Security.