Content formatting util
convert_string_to_markdown(content)
Basic conversions to make strings behave properly in markdown.
Including: - Replace single newlines with markdown newlines (two spaces at end of line followed by \n).
convert_string_to_quote(content)
Basic conversions to make strings behave properly in markdown.
Including: - Replace single newlines with markdown newlines (two spaces at end of line followed by \n). - Adds a > to the start of each line to make it a quote. (which then works for nested quotes as well)
end(chunk_name)
Marker to end some block of content/metadata/etc.
start(chunk_name)
Marker to start some block of content/metadata/etc.
wrap(chunk_name, text)
Wrap some content in a block with a name.