process_note

Function process_note 

Source
pub fn process_note(note: &Note, config: &ExportConfig) -> Result<String>
Expand description

Processes a single note, converting it to Markdown and handling attachments.

§Arguments

  • note - The note to process
  • config - Export configuration options

§Returns

  • Result<String> - The processed Markdown content

§Errors

  • If image extraction fails
  • If HTML processing fails