Module

PuduLangDocgen.Inline

View source

Phrasing syntax parsed into article inline nodes

Functions

Name Description
parse Phrasing content of a block whose text starts at the given one-based line.
label A reference label compared case-insensitively with collapsed white space.
plain The text a reader sees, without markup.

parse

fn parse(text: Str, definitions: &Map[Str, Syntax.Target], line: Int) -> Array[Syntax.Inline]

Phrasing content of a block whose text starts at the given one-based line.

Parameters

text
Str
definitions
&Map[Str, Syntax.Target]
line
Int

Returns

Array[Syntax.Inline]

View source

label

fn label(text: Str) -> Str

A reference label compared case-insensitively with collapsed white space.

Parameters

text
Str

Returns

Str

View source

plain

fn plain(inlines: &Array[Syntax.Inline]) -> Str

The text a reader sees, without markup.

Parameters

inlines
&Array[Syntax.Inline]

Returns

Str

View source