Repository navigation
v0.2.43
Fix: escape curly braces in docstring prose (MDX/JSX parse failures)
Generated docs could fail Mintlify's MDX parser when a docstring contained {...} (e.g. a dict example) in prose, because MDX parses { as a JSX expression. Two fixes:
escape_mdx_contentnow escapes{/}outside code.- Inline-code matching is single-line only, so multi-line backtick spans (which MDX does not treat as code) fall through to prose escaping instead of leaking braces.
Verified against Prefect's full integration docs with mint broken-links (previously hard-failed, now clean).
Full changelog: #45