Skip to main content

resolve_md_inline

Function resolve_md_inline 

Source
pub fn resolve_md_inline(content: &str) -> SyntaxNode
Expand description

Resolve a bare prose content string as a @md markdown inline run and return the resulting ROXYGEN_PARAGRAPH node, whose children are the resolved inline elements (text, emphasis/strong nodes, links, code spans, nested Rd macros). Drives the projector’s translation of a non-fragile Rd macro’s argument under @md (\emph{*x*} → \emph{\emph{x}}): the projector slices out the raw argument text and feeds it here, reusing the real inline pass (the delimiter-stack arena) rather than a second markdown scanner — so nesting, links, and code spans resolve exactly as in ordinary @md prose. A nested fragile macro stays an opaque ROXYGEN_RD_MACRO token here; the projector keeps its argument literal by recursing with the same fragility check.