Skip to main content

join_sentences_as_markdown

Function join_sentences_as_markdown 

Source
pub fn join_sentences_as_markdown(sentences: &[String]) -> String
Expand description

Join complete sentences into a single Markdown document body.

Sentences are already canonical; we only serialise them for visual review.

  • Ordered-list items (1. …) stay single-spaced from the previous block.
  • Other sentences get a blank line so Markdown forms paragraphs.