pub fn inline_paragraph_node(
md_text: String,
runs: Vec<InlineRun>,
unwrapped: bool,
) -> NodeExpand description
Build the Node for a paragraph of inline content from its structured
runs and Markdown text, applying docling’s InlineGroup boundary:
- a single plain run (or none) → a plain
Node::Paragraph(which the serializers render as<text>…</text>, and a lone hyperlink via<href>); - a single uniformly-formatted run, or two or more runs → a
Node::InlineGroup.unwrapped(the group’s docling parent is a heading, so no enclosing<text>) only applies to multi-run groups.
Markdown/JSON render the group’s md_text, so their output is identical to
emitting a Paragraph — the structured runs are DocLang-only.