Releases: nuxt-modules/mdc
Releases · nuxt-modules/mdc
v0.2.0
🚀 Enhancements
- MDC: Pass
excerpt
andtoc
to slot (#23) - MDC: Accept parser options in
<MDC>
(#36) - Migrate to shikiji (#27)
🩹 Fixes
- node-utils: Do not import utils from Vue package (e7387d8)
- node-env: Dynamic import module options (cc6045a)
- unist-compiler: Heading tag detection (9c357bf)
- slot: Remove default unwrap tag for backward compatibility (39d3bc9)
- Pass missing highlight class (#21)
- TrimEnd to code in highlighter, close #29 (#32, #29)
- unwrapSlot: Handle string tags (#30)
- highlighter: Missing highlights (c5633c3)
- Inline code highlighting (#39)
- MDCRenderer: Missing body (ee5afad)
- module: Use url in module alias (#45)
📖 Documentation
- Add links (efe9236)
🏡 Chore
- Enable wasm for shikiji support in CF (d9a1874)
✅ Tests
- Test highlighted lines in code blocks (7cbe123)
❤️ Contributors
- Farnabaz (@farnabaz)
- Nobkd (@Nobkd)
- Anthony Fu [email protected]
- Sébastien Chopin (@Atinux)
BREAKING CHANGE: There is a slight breaking change in code highlighting due to migrating to Shikiji. Exported useShikiHighlighter
, now returns only getHighlightedAST
function to highlight code block and return AST tree.