Skip to content

Releases: nuxt-modules/mdc

v0.8.2

14 Jun 14:48
Compare
Choose a tag to compare
  • docs: fix invalid useAsyncData usage (3f2fb53)
  • fix: export module types under pakcage name (#226) (31afecc)

v0.8.1

13 Jun 08:55
Compare
Choose a tag to compare
  • chore(deps): update devdependency eslint to v9 (#210) (7040474)
  • chore(deps): update devdependency nuxt to ^3.12.1 (#219) (8924d84)
  • feat: export module types (#223) (b123744)
  • chore: bump @nuxt/module-builder (#221) (6425fec)
  • fix(build): resolve runtime/**/*.js files and prose header types (#220) (1e96aa3)

v0.8.0

10 Jun 23:02
Compare
Choose a tag to compare
  • fix: types (fc62d60)
  • lint: fix (c24ed88)
  • chore: upgrade deps (38dd182)
  • chore(deps): update dependency remark-emoji to v5 (#214) (63f8fa8)
  • chore(deps): update devdependency @nuxt/test-utils to ^3.13.1 (#211) (d4dde87)
  • fix(wasm): include cloudflare-module preset (#216) (867a799)
  • fix: anchor links types and type-safety (#217) (1d4e5b6)

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)