Module
PuduLangDocgen.Inline
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
textStrdefinitions&Map[Str, Syntax.Target]lineInt
Returns
Array[Syntax.Inline]
label
fn label(text: Str) -> Str
A reference label compared case-insensitively with collapsed white space.
Parameters
textStr
Returns
Str
plain
fn plain(inlines: &Array[Syntax.Inline]) -> Str
The text a reader sees, without markup.
Parameters
inlines&Array[Syntax.Inline]
Returns
Str