@nuxtjs/mdc
0.23.4 · 17 Nov 2026MIT346k / weekRepositoryHomepagenpmAtom feed
77 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.23.x · latest line
0.23.4
17 Nov 2026Only allow plain tag names in
asandis
0.23.2
1 Oct 2026Sanitize root component tags and props from markdown frontmatter
Respect user-defined nodeTransforms from nuxt.config
0.23.1
10 Aug 2026Freeze
@nuxt/module-builder@1.0.2due to issue with missing.vuefiles in dist
0.23.0
7 Aug 2026Vite 8 alias resolution supression
- 0.22.x
0.22.2
16 Jul 2026security: Sanitize Vue directive attributes
0.22.1
2 Jul 2026Validate xlink:href and fix data:text/html prefix check in sanitizer
Validate xlink:href and fix data:text/html prefix check in sanitizer
0.22.0
12 May 2026Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
- 0.21.x
0.21.1
31 Mar 2026Only updates dependencies, nothing else changes.
0.21.0
26 Mar 2026Don't memoise configs, and allow external modules to call
mdc:configSourcesNormalize lang
cache: Fix issue where value watch could get out of sync
What's Changed
Don't memoise configs, and allow external modules to call
mdc:configSourcesNormalize lang
cache: Fix issue where value watch could get out of sync
- 0.20.x
0.20.2
4 Mar 2026security: prevent script tag from rendering (
scripTorsCrIpT)
0.20.1
5 Feb 2026Types
parser: Remove duplicate props
:name~name
0.20.0
15 Jan 2026Introduce
mdc.componenets.customElementsCall
mdc:configSourcesafter all modules have run
- 0.19.x
0.19.1
28 Nov 2025Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
0.19.0
27 Nov 2025Better inline detection for buttons
Convert json attributes to yaml syntax
stringify: Inline component with -3 attributes
Important
This release focuses on improved inline component detection, and stringify fixes for MDC:
Dependencies: Upgraded core packages and moved to
remark-mdcnightly for newer features and > bug fixes. Updated actions/checkout to v6 for CI stability.Inline detection: Better handling of inline components and buttons, including cases with negative attribute counts and nested contexts.
Stringify fixes: Correct conversion of JSON-style attributes to YAML syntax, improved detection of inline components, and reliable support for nested lists.
Better inline detection for buttons
Convert json attributes to yaml syntax
stringify: Inline component with -3 attributes
lint: Fix
stringify: Detect inline components
stringify: Nested lists
- 0.18.x
0.18.4
17 Nov 2025- Deprecated
Deprecate
remarkMDCoption in favor ofremark-mdc Handle
kbdelement and preserve component inline children order
- Deprecated
Deprecate
remarkMDCoption in favor ofremark-mdc Handle
kbdelement and preserve component inline children order
0.18.3
13 Nov 2025Treat heading children as inline elements
0.18.2
4 Nov 2025stringify: Frontmatter stringify options
0.18.1
4 Nov 2025stringify: Preserve children order
stringify: Preserve children order
0.18.0
9 Oct 2025Allow passing options to
remark-mdcplugin in stringify helper
Allow passing options to
remark-mdcplugin in stringify helper
- 0.17.x
0.17.4
9 Sep 2025Merge highlight options with
defuUse
@shikijs/coreinstead ofshiki/corefor better tracing
Merge highlight options with
defuUse
@shikijs/coreinstead ofshiki/corefor better tracing
0.17.3
1 Sep 2025- Security
security: fix XSS vulnerabilities
Fix Nuxt V4 upgrade Fix
- Security
security: fix XSS vulnerabilities
Fix Nuxt V4 upgrade Fix
0.17.2
18 Jul 2025Merge commit from fork
Important
This patch release contains a fix for Security Advisory github.com/nuxt-modules/mdc/security/advisories…, Special thanks to @Vozec for the report.
Changelog:
Merge commit from fork
0.17.1
14 Jul 2025Also check for nuxt-nightly path
Detect mdcUnwrap on slots too
Also check for nuxt-nightly path
Detect mdcUnwrap on slots too
0.17.0
23 Apr 2025Introduce MDCCached component, an efficient makdown parser and renderer for streaming texts.
Introduce MDCCached component
Vue server renderer does not render \r causes hydration issue
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
Fixes
Vue server renderer does not render \r causes hydration issue
Dynamic load parser in MDC component
parser: Simplify filename regex in parseThematicBlock function
MDCRenderer: Re-render when tags are modified
stringify: Force hast-util-to-mdast to treat textComponent nodes as text
shiki: Allow overriding base transformers
md-highlighter: Import bundledLanguagesInfo directly from shiki
Unify class properties
MDCRenderer: Ensure nodes are in right order on re-render
Render button nodes
stringify: Ensure inline components are separated by space
Do not add spacing around binding
Do not add space between components and punctuation
Prevent undefined error
- 0.16.x
0.16.1
20 Mar 2025stringify: Stringify iframe
0.16.0
19 Mar 2025MDC: Do not generate title/description and toc
Upgrade deps and drop ohash
Broken custom highlighter
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
Upgrade deps and drop ohash
Broken custom highlighter
- 0.15.x
0.15.0
5 Mar 2025Add cache-key to MDC component
parser: Provide default cwd to prevent exception outside node environment
parse: Prevent undefined error due to bundler optimization
Enhancements
Add cache-key to MDC component
Fixes
parser: Provide default cwd to prevent exception outside node environment
parse: Prevent undefined error due to bundler optimization
mdc-remark: Do not remove new lines from paragraphs
- 0.14.x
0.14.0
25 Feb 2025MDCRenderer: Do not render script tags
Fixes
MDCRenderer: Do not render script tags
- 0.13.x
0.13.5
7 Feb 2025Support static file paths
0.13.4
7 Feb 2025Regression in allowed image links using absolute or relative paths
Fixes
Regression in allowed image links using absolute or relative paths
0.13.3
6 Feb 2025- Security
security: additional xss security guards for anchor elements
0.13.2
27 Jan 2025Transpile yaml package
0.13.1
17 Jan 2025stringify: Convert
mdc-elementback to rehypeelement
- 0.12.x
0.12.1
7 Jan 2025Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
0.12.0
30 Dec 2024Do not remove text language from codeblocks
parse: Allow disabling heading extraction
stringifyMarkdownauto-import
Do not remove text language from codeblocks
parse: Allow disabling heading extraction
stringifyMarkdownauto-importText is default language for codeblocks
- 0.11.x
0.11.1
9 Dec 2024Only updates a dependency:debug 4.3.7
0.11.0
9 Dec 2024renderer: Do not try to resolve
<svg>,<math>and their childrenMDC stringify utility
Export processors
Enhancements
renderer: Do not try to resolve
<svg>,<math>and their childrenMDC stringify utility
Fixes
Export processors
stringify: Do not remove slots with properties
stringify: Whitespace between inline components and texts
stringify: Whitespace between
:brand texts
- 0.10.x
0.10.0
2 Dec 2024parser: New
createProcessorutilslot: Detect Vue slots with
mdc-unwrapprop and treat them as<MDCSlot>nodeTextContent:
.valuehas higher priority than.children
Enhancements
parser: New
createProcessorutilslot: Detect Vue slots with
mdc-unwrapprop and treat them as<MDCSlot>
Fixes
nodeTextContent:
.valuehas higher priority than.children
- 0.9.x
0.9.5
20 Nov 2024Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
0.9.4
19 Nov 2024MDCRenderer: App breaking when component is missing
0.9.3
19 Nov 2024Space separated unwrap tags
Async nested rendering
Support adding documentRoot vfile context to MDC parser
Enhancements
Space separated unwrap tags
Async nested rendering
Support adding documentRoot vfile context to MDC parser
Fixes
module: Possibility to remove module's default remark/rehype plugins from bundle
Keep main plugins inside parser bundle
MDCRenderer: Vue3
v-model
0.9.2
15 Oct 2024prose-image: Broken template import
0.9.1
15 Oct 2024Introduce
highlight.shikiEngineoptionhighlight: Introduce
noApiRouteoption to disable hightlight apishiki: Prevent change side effect
Enhancements
Introduce
highlight.shikiEngineoptionhighlight: Introduce
noApiRouteoption to disable hightlight api
Fixes
shiki: Prevent change side effect
MDCRenderer: Allow passing component definition to
componentspropDo not load
<NuxtImg>stub if it is not installed
0.9.0
12 Sep 2024Use explicit
propsshiki: Dynamic import highlighter packages
Fixes
Use explicit
propsshiki: Dynamic import highlighter packages
- 0.8.x
0.8.3
1 Jul 2024Upgrade shiki, support custom embedded languages
ts-typeandvue-htmldefineConfigshould be side-effect freebuild: Change default exports to
module.d.ts
Enhancements
Upgrade shiki, support custom embedded languages
ts-typeandvue-html
Fixes
defineConfigshould be side-effect freebuild: Change default exports to
module.d.ts
0.8.2
14 Jun 2024Export module types under pakcage name
Export module types under pakcage name
0.8.1
13 Jun 2024Export module types
build: Resolve
runtime/**/*.jsfiles and prose header types
Export module types
build: Resolve
runtime/**/*.jsfiles and prose header types
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.