package cmarkit

  1. Overview
  2. Docs

Module Block.ParagraphSource

Paragraphs.

Sourcetype t

The type for paragraphs.

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

make inline is a paragraph with given parameters.

Sourceval inline : t -> Inline.t

inline p is the paragraph content.

Sourceval leading_indent : t -> Layout.indent

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

Sourceval trailing_blanks : t -> Layout.blanks

trailing_blanks are trailing blanks on the last line.