Module
PuduLangDocgen.Markdown.Crossref
Cross references with display options read from their written forms
Functions
| Name | Description |
|---|---|
span |
A cross reference written as `uid?displayProperty=fullName&text=Label`; given link text wins over the `text` option. |
element |
The `<xref uid="..." />` element form, read from the text between its angle brackets. |
span
fn span(written: Str, children: Array[Syntax.Inline], line: Int, optional: Bool) -> Syntax.Inline
A cross reference written as uid?displayProperty=fullName&text=Label; given link text
wins over the text option.
Parameters
writtenStrchildrenArray[Syntax.Inline]lineIntoptionalBool
Returns
element
fn element(inner: Str, line: Int) -> Option[Syntax.Inline]
The <xref uid="..." /> element form, read from the text between its angle brackets.
Parameters
innerStrlineInt
Returns
Option[Syntax.Inline]