Skip to content

v0.2.0

Choose a tag to compare

@farnabaz farnabaz released this 20 Sep 13:48
· 451 commits to main since this release

🚀 Enhancements

  • MDC: Pass excerpt and toc 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

🏡 Chore

  • Enable wasm for shikiji support in CF (d9a1874)

✅ Tests

  • Test highlighted lines in code blocks (7cbe123)

❤️ Contributors


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.