Skip to content

Releases: nuxt-modules/mdc

v0.7.1

16 May 13:35
Compare
Choose a tag to compare

🚀 Enhancements

  • Allow unwrapping tags in renderer (#186)

🩹 Fixes

  • Cleanup top level text nodes (231bac6)
  • types: Add useNuxtImage type into runtime config (#191)
  • Duplicate element in default highlight languages (#201)
  • Add false as accepted value for headings.anchorLinks option (#206)

🏡 Chore

  • Update renovate config (#198)
  • Remove mdurl types (399225c)

❤️ Contributors

v0.7.0

23 Apr 16:07
Compare
Choose a tag to compare

🚀 Enhancements

  • Use NuxtImg component in ProseImg if the @nuxt/image module is activated (#180)

🩹 Fixes

  • Optimise deps with nested config (#160)
  • Improve new line text node detection (#163)
  • Component exports (#166)
  • shiki: Enable WASM on CF deployment (#167)
  • ProseA: Prop types mismatch (6acc231)

📖 Documentation

  • Add Stackblitz playground (dfd777c)
  • Use default export (#179)
  • Use new nuxi module add command in installation (#176)

🏡 Chore

❤️ Contributors

v0.6.0

07 Mar 11:18
Compare
Choose a tag to compare

🚀 Enhancements

  • comments: Possibility to keep comments in MDC tree with keepComments option (#152)
  • Remove '#imports` from MDC Renderer (#153)
  • Use mdcrenderer component and parsemarkdown util outside nuxt (#154)

🩹 Fixes

  • Strip non-word-chars from library import name (#142)
  • Prepend import names with underscore (#144)
  • build: Do not export component in runtime index (9dc5cc3)

📦 Build

  • Exports types (#145)

🏡 Chore

❤️ Contributors

v0.5.0

05 Feb 16:52
Compare
Choose a tag to compare

🚀 Enhancements

  • Better wasm support for CF (#137)
  • Add more default highlight langs (#138)

🩹 Fixes

  • Check highlight for undefined value (ea30fc7)

📖 Documentation

❤️ Contributors

v0.4.0

02 Feb 15:36
Compare
Choose a tag to compare

🚀 Enhancements

  • ⚠️ mdc.config.js support, improve shiki bundle (#129)

🩹 Fixes

  • Improve optimizeDeps handling (#131)
  • code-block: Convert string to number[] before rehypeShiki (#133)

⚠️ Breaking Changes

  • ⚠️ mdc.config.js support, improve shiki bundle (#129)
    • Module does not export useShikiHighlighter in @nuxtjs/mdc/runtime anymore. Shiki highlighter could be imported using import { createShikiHighlighter } from '@nuxtjs/mdc/runtime/highlighter/shiki'
    • Module does not expose mdc.highlight in runtime config

❤️ Contributors

v0.3.2

18 Jan 20:32
Compare
Choose a tag to compare
  • fix(shikiji): node children shound be an array (b3b34f5)
  • fix: add unwasm support to nitro prerenderer (#126) (e4ca6fc)

v0.3.1

18 Jan 15:53
Compare
Choose a tag to compare
  • chore(deps): update all non-major dependencies (#125) (76ceed2)
  • chore(deps): lock file maintenance (#119) (b44576e)
  • chore(deps): update all non-major dependencies (#118) (21d9820)
  • fix: remove is-buffer from optimize deps (#123) (3051e32)
  • feat: enable wasm with unwasm for highlighter (#122) (95c64ca)

v0.3.0

21 Dec 14:46
Compare
Choose a tag to compare
  • chore(deps): update dependency shikiji to ^0.9.10 (#116) (8f79320)
  • feat: syntax highlighter support notations (#117) (815c43a)
  • chore(deps): lock file maintenance (#113) (7715d8d)
  • chore(deps): update remark (major) (#104) (3666157)
  • chore(deps): update all non-major dependencies (#112) (70bf72e)
  • fix(shiki): remove deprecated transforms (63076df)

Note: Slightly internal breaking change: class props now are array of strings

v0.2.9

15 Dec 16:54
Compare
Choose a tag to compare
  • chore(deps): lock file maintenance (#110) (1b70c5e)
  • chore(deps): update all non-major dependencies (#109) (e41e24c)
  • fix: only append new entry to optimizeDeps on vite:extendConfig (#111) (3e1b7c6)
  • chore: update prepack script (de0b2bf)
  • feat: auto import parseMarkdown (5182df2)
  • chore(deps): update devdependency vitest to v1 (#108) (64e46e2)
  • chore(deps): update devdependency release-it to v17 (#94) (8fcf26e)
  • chore(deps): lock file maintenance (#96) (9205c6b)
  • chore(deps): update all non-major dependencies (#86) (26812b7)
  • feat(highlighter): support text/unknown/no language line highlights (#100) (0987f8a)
  • ci: fix release job conditional (#103) (64a9aad)
  • chore: use module-builder stub mode for more accurate types (#107) (22ada50)
  • docs: update (ba4ea56)
  • docs: improve readme (d5010b5)
  • docs: update README.md (f74d225)

v0.2.8

22 Nov 11:50
Compare
Choose a tag to compare
  • fix(shiki): resolve rehype plugin with extension (5d0f634)
  • chore: update deps and playground (8976c1d)