Skip to content

Releases: nuxt-modules/mdc

v0.17.0

23 Apr 15:07
Compare
Choose a tag to compare

🎉 Highlights

  • Introduce MDCCached component, an efficient makdown parser and renderer for streaming texts.

Note

Markdown stringifier adds spaces around inline components. This is due to #371 fix.

🚀 Enhancements

  • Introduce MDCCached component (#382)

🩹 Fixes

  • Vue server renderer does not render \r causes hydration issue (b722c4a)
  • Dynamic load parser in MDC component (#363)
  • parser: Simplify filename regex in parseThematicBlock function (#367)
  • MDCRenderer: Re-render when tags are modified (78a0571)
  • stringify: Force hast-util-to-mdast to treat textComponent nodes as text (cd1c4fd)
  • shiki: Allow overriding base transformers (760874d)
  • md-highlighter: Import bundledLanguagesInfo directly from shiki (#375)
  • Unify class properties (b820147)
  • MDCRenderer: Ensure nodes are in right order on re-render (#381)
  • Render button nodes (5242c08)
  • stringify: Ensure inline components are separated by space (c9f538a)
  • Do not add spacing around binding (c3efdd5)
  • Do not add space between components and punctuation (6ea4163)
  • Prevent undefined error (fc8c294)

💅 Refactors

  • Imports for Shiki (#365)

📖 Documentation

🏡 Chore

❤️ Contributors

v0.16.1

20 Mar 13:29
Compare
Choose a tag to compare
  • fix(stringify): stringify iframe (9157af7)

v0.16.0

19 Mar 16:44
Compare
Choose a tag to compare

Note

MDC component does not generate title & description for markdown props anymore. If you want to generate them you need to pass :partial="false" props. If you haven't used the title and description before, don't worry, it will not change anything in your application.

🩹 Fixes

  • MDC: Do not generate title/description and toc (#354)
  • Upgrade deps and drop ohash (3d08c74)
  • Broken custom highlighter (d090484)

🏡 Chore

  • Drop edge channel in favor of pkg-pr-new releases (35cc446)
  • Upgrade deps (3853b10)
  • release: Release v0.16.0 (6b47e1d)

v0.15.0

05 Mar 16:36
Compare
Choose a tag to compare

🚀 Enhancements

  • Add cache-key to MDC component (#353)

🩹 Fixes

  • parser: Provide default cwd to prevent exception outside node environment (738defe)
  • parse: Prevent undefined error due to bundler optimization (30cd412)
  • mdc-remark: Do not remove new lines from paragraphs (49d0ed4)

❤️ Contributors

v0.14.0

25 Feb 20:09
Compare
Choose a tag to compare

🩹 Fixes

  • MDCRenderer: Do not render script tags (6c6a036)

📖 Documentation

  • Current links presets (#345)
  • Clarifies the need to globally register the custom prose components (#347)

🏡 Chore

🤖 CI

❤️ Contributors

v0.13.5

07 Feb 18:25
Compare
Choose a tag to compare

🩹 Fixes

  • Support static file paths (#340)

❤️ Contributors

v0.13.4

07 Feb 11:08
Compare
Choose a tag to compare

🩹 Fixes

  • Regression in allowed image links using absolute or relative paths (#339)

🤖 CI

❤️ Contributors

v0.13.3

06 Feb 13:03
Compare
Choose a tag to compare

🩹 Fixes

  • security: additional xss security guards for anchor elements (9909773)

❤️ Contributors

v0.13.2

27 Jan 14:15
Compare
Choose a tag to compare

v0.13.1

17 Jan 13:28
Compare
Choose a tag to compare
  • fix(stringify): convert mdc-element back to rehype element (017fff0)