process_markdown_string

Function process_markdown_string 

Source
pub fn process_markdown_string(
    content: &str,
    preset: ProcessorPreset,
) -> MarkdownResult
Expand description

Process markdown content from a string with error recovery.

This is a convenience function that combines processor creation and content processing in a single call.

§Arguments

  • content - The markdown content to process
  • preset - The processor preset to use

§Returns

A MarkdownResult with processed content