Skip to content

JSX Support

Mayank edited this page Jun 22, 2025 · 1 revision

🧠 JSX-Aware Parsing

You can pass JSX structures with embedded Markdown strings:

<Md>
  <section>
    {"# Title\n\nThis is some **bold** text"}
  </section>
</Md>
  • Each markdown string is parsed separately.
  • astRef.current is an array: one node per Markdown string.

Clone this wiki locally