Skip to content

@eventuras/markdown@0.14.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 21:04
Immutable release. Only release title and notes can be modified.

Minor Changes

  • ce9a5a7: Add a codeBlock component slot to MarkdownContent — the opt-in seam for
    syntax highlighting. Pass @eventuras/ratio-ui-shiki's CodeBlock and fenced
    code blocks highlight (theme-aware, client-side); by default nothing changes
    and no highlighter code is bundled. The slot receives the exact props the
    built-in CodeBlock rendering uses (MarkdownCodeBlockProps, exported), so
    CodeBlock-compatible components are drop-ins that match the default
    appearance. Inline code and unknown-language fallback are unaffected.