process_inline_anchors

Function process_inline_anchors 

Source
pub fn process_inline_anchors(content: &str) -> String
Expand description

Process inline anchors in markdown content.

This function processes inline anchor syntax like []{#my-anchor} while being code-block aware to avoid processing inside code fences.

§Arguments

  • content - The markdown content to process

§Returns

The processed markdown with inline anchors converted to HTML spans