These functions are used to create span nodes. Span nodes are used to represent inline elements in markdown and include things like links, images, code, emphasized text, strong text, and more.

md_span_em(...)

md_span_strong(...)

md_span_a(..., href, title)

md_span_img(..., src, title)

md_span_code(...)

md_span_del(...)

md_span_latexmath(...)

md_span_latexmath_display(...)

md_span_wikilink(..., target)

md_span_u(...)

Arguments

...

Child nodes that will be contained within the span - all must inherit from md_node.

href

Used by md_span_a nodes to provide the href attribute.

title

Used by md_span_a or md_span_img nodes to provide a title attribute.

src

Used by md_span_img nodes to provide the src attribute.

target

Used by md_span_wikilink nodes to provide the target attribute.

Value

Returns a list with a class of specified type along with md_span and md_node.

See also