Module

PuduLangDocgen.Markdown.Crossref

View source

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

written
Str
children
Array[Syntax.Inline]
line
Int
optional
Bool

Returns

Syntax.Inline

View source

element

fn element(inner: Str, line: Int) -> Option[Syntax.Inline]

The <xref uid="..." /> element form, read from the text between its angle brackets.

Parameters

inner
Str
line
Int

Returns

Option[Syntax.Inline]

View source