Skip to content

Basic example

This page mirrors examples/basic.rs and shows the full output for easy CI verification.

What this example demonstrates

  • inline spans with explicit end tags
  • retro_line recovery for unclosed citations
  • forward_next_token for risk tags
  • self-closing markers for todo

How to run

Run:

cargo run -q --example basic