@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.8.x
0.8.0
10 Jun 2024Types
lint: Fix
wasm: Include cloudflare-module preset
Types
lint: Fix
wasm: Include cloudflare-module preset
Anchor links types and type-safety
- 0.7.x
0.7.1
16 May 2024Allow unwrapping tags in renderer
Cleanup top level text nodes
types: Add
useNuxtImagetype into runtime config
Enhancements
Allow unwrapping tags in renderer
Fixes
Cleanup top level text nodes
types: Add
useNuxtImagetype into runtime configDuplicate element in default highlight languages
Add
falseas accepted value forheadings.anchorLinksoption
0.7.0
23 Apr 2024Use
NuxtImgcomponent in ProseImg if the@nuxt/imagemodule is activatedOptimise deps with nested config
Improve new line text node detection
Enhancements
Use
NuxtImgcomponent in ProseImg if the@nuxt/imagemodule is activated
Fixes
Optimise deps with nested config
Improve new line text node detection
Component exports
shiki: Enable WASM on CF deployment
ProseA: Prop types mismatch
- 0.6.x
0.6.1
7 Mar 2024Ssr route detection
0.6.0
7 Mar 2024comments: Possibility to keep comments in MDC tree with
keepCommentsoptionRemove '#imports` from MDC Renderer
Use mdcrenderer component and parsemarkdown util outside nuxt
Enhancements
comments: Possibility to keep comments in MDC tree with
keepCommentsoptionRemove '#imports` from MDC Renderer
Use mdcrenderer component and parsemarkdown util outside nuxt
Fixes
Strip non-word-chars from library import name
Prepend import names with underscore
build: Do not export component in runtime index
- 0.5.x
0.5.0
5 Feb 2024Better wasm support for CF
Add more default highlight langs
Check highlight for
undefinedvalue
Enhancements
Better wasm support for CF
Add more default highlight langs
Fixes
Check highlight for
undefinedvalue
- 0.4.x
0.4.0
2 Feb 2024- Breaking
⚠️
mdc.config.jssupport, improve shiki bundle - Breaking
⚠️
mdc.config.jssupport, improve shiki bundle Improve optimizeDeps handling
Enhancements
- Breaking
⚠️
mdc.config.jssupport, improve shiki bundle
Fixes
Improve optimizeDeps handling
code-block: Convert string to
numberbefore rehypeShiki
Breaking Changes
- Breaking
⚠️
mdc.config.jssupport, improve shiki bundleModule does not export
useShikiHighlighterin@nuxtjs/mdc/runtimeanymore. Shiki highlighter could be imported usingimport { createShikiHighlighter } from '@nuxtjs/mdc/runtime/highlighter/shiki'Module does not expose
mdc.highlightin runtime config
- 0.3.x
0.3.2
18 Jan 2024shikiji: Node children shound be an array
Add unwasm support to nitro prerenderer
0.3.1
18 Jan 2024Remove
is-bufferfrom optimize depsEnable wasm with unwasm for highlighter
Remove
is-bufferfrom optimize depsEnable wasm with unwasm for highlighter
0.3.0
21 Dec 2023- Removed
shiki: Remove deprecated transforms
Syntax highlighter support notations
Syntax highlighter support notations
- Removed
shiki: Remove deprecated transforms
Note: Slightly internal breaking change: class props now are array of strings
- 0.2.x
0.2.9
15 Dec 2023Only append new entry to
optimizeDepsonvite:extendConfigAuto import
parseMarkdownhighlighter: Support text/unknown/no language line highlights
Only append new entry to
optimizeDepsonvite:extendConfigAuto import
parseMarkdownhighlighter: Support text/unknown/no language line highlights
0.2.8
22 Nov 2023shiki: Resolve rehype plugin with extension
shiki: Resolve rehype plugin with extension
0.2.7
21 Nov 2023shiki: Do not add new line to single line codes
highlight: Do not include shiki in bundle when highlight is disabled
Import nuxt composables from #imports
Fixes
shiki: Do not add new line to single line codes
highlight: Do not include shiki in bundle when highlight is disabled
Import nuxt composables from #imports
Update scule to match latest one as nuxt
0.2.6
26 Oct 2023Do not render script warning in production
Typecheck
MDC: Props mistmatch
0.2.5
25 Oct 2023MDC:
tagprop type
0.2.4
25 Oct 2023Add title and description on markdown returned type
Add script render in mdc
Import types with
typekeyword
Enhancements
Add title and description on markdown returned type
Add script render in mdc
Fixes
Import types with
typekeywordRespect plugins options type
shiki: Fallback inline highlighter on static runtime
0.2.3
19 Oct 2023shiki: Remove
htmlfrom.shikicss selectorMDCRenderer: Check for
__ssrInlineRenderto detect componentMDCRenderer: Rerender components when new components adds to content
Enhancements
shiki: Remove
htmlfrom.shikicss selector
Fixes
MDCRenderer: Check for
__ssrInlineRenderto detect componentMDCRenderer: Rerender components when new components adds to content
highlighter: Allow multiple themes inside a page
Improve highlighter styles
Add line break to end of each code block line
0.2.2
10 Oct 2023Add default value to variable binding
MDCRenderer: Controll wrapper node rendering
highlighter: Fallback to raw code in case of exception
Enhancements
Add default value to variable binding
MDCRenderer: Controll wrapper node rendering
Fixes
highlighter: Fallback to raw code in case of exception
MDCRenderer: Check for both kebabCase and pascalCase in tags map
Drop !important css rules from code highlighting
0.2.1
28 Sep 2023shiki: Control wrapper styles & preload languages
0.2.0
20 Sep 2023MDC: Pass
excerptandtocto slotMDC: Accept parser options in
<MDC>Migrate to shikiji
Enhancements
MDC: Pass
excerptandtocto slotMDC: Accept parser options in
<MDC>Migrate to shikiji
Fixes
node-utils: Do not import utils from Vue package
node-env: Dynamic import module options
unist-compiler: Heading tag detection
slot: Remove default unwrap tag for backward compatibility
Pass missing highlight class
unwrapSlot: Handle string tags
highlighter: Missing highlights
Inline code highlighting
MDCRenderer: Missing body
module: Use url in module alias
- 0.1.x
0.1.6
31 Aug 2023Remark/rehype plugin options
slot-transformer: Prevent context conflict
0.1.5
31 Aug 2023MDC: Reduce key size
slot-transformer: Prevent duplicate import
Fixes
MDC: Reduce key size
slot-transformer: Prevent duplicate import
0.1.4
30 Aug 2023slot-transformer: Drop plugin in favor of context imports
MDC: Use raw content as
useAsyncDatakey in<MDC>MDCSlot: Do not merge non-text vnodes
0.1.3
30 Aug 2023Exclude
@nuxtjs/mdcfrom vite optimizationTypecheck
0.1.2
29 Aug 2023Expose
unwrapSlot
0.1.1
29 Aug 2023Update docs
Upgrade
mdast-util-to-hastto ^13.0.2
Update docs
Upgrade
mdast-util-to-hastto ^13.0.2
0.1.0
28 Aug 2023Initial Release 🎉
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.