import { componentPlugin } from '@mdit-vue/plugin-component'; import MarkdownIt from 'markdown-it'; const md = MarkdownIt({ html: true }).use(componentPlugin, { // options }); const rendered = md.render( `\ <!-- @ shorthand is supported --> <Foo @click="onClick" /> <!-...
The default slugify function comes from @mdit-vue/shared package. When using this plugin with markdown-it-anchor (recommended), this option will be ignored because the id of the headings have already been determined by markdown-it-anchor's slugify option.format...
plugin-component:make component tags behave like inline tags in some cases (9db6f9c) 0.8.0(2022-07-22) Features plugin-component:add blockTags and inlineTags options (4651422) 0.7.1(2022-07-20) Note:Version bump only for package mdit-vue 0.7.0(2022-07-18) Features plugin-frontmatter:e...
plugin-component: add js extension to work with esm (42ccdad) 0.1.0 (2022-06-22) Features plugin-component: add component plugin (cd2eeaa) Display full changelog yarn.pm/@mdit-vue/sharedcopygithub.com/mdit-vuemdit-vue/mdit-vue@mdit-vue/shared Use it $ yarn add @mdit-vue/share...
This project is here to provide some unified plugins formarkdown-it, one of the most popular markdown parsers in JS world, to make it work better with Vue. Packages PackageVersion (click for changelogs) @mdit-vue/plugin-component
"name":"@mdit-vue/plugin-component", "version":"0.11.1", "version":"0.11.2", "description":"A markdown-it plugin to allow vue components in markdown", "keywords": [ "markdown-it", Expand Down 4 changes: 4 additions & 0 deletions4packages/plugin-headers/CHANGELOG.md ...
deps: update dependency @vueuse/router to v10 (#516) (ea0f27c) copy: prevent shorthand copy if source is present in useCopy (#559) (86e964a) c-lib: hide component library shortcut link in non-dev (#557) (56d74d0) emoji picker: fix copy button (#556) (e5d0ba7) deps: update...
♻️ Update DeleteConfirmation component to use new service. PR #1224 by @alejsdev. ♻️ Update client services. PR #1223 by @alejsdev. ⚒️ Add minor frontend tweaks. PR #1210 by @alejsdev. 🚚 Move assets to public folder. PR #1206 by @alejsdev. ♻️ Refactor redir...
plugin-component:make component tags behave like inline tags in some cases (9db6f9c) 0.8.0(2022-07-22) Features plugin-component:add blockTags and inlineTags options (4651422) 0.7.1(2022-07-20) Note:Version bump only for package mdit-vue ...
2 changes: 1 addition & 1 deletion 2 packages/plugin-component/package.json Original file line numberDiff line numberDiff line change @@ -46,7 +46,7 @@ "markdown-it": "^14.1.0" }, "devDependencies": { "@vue/shared": "^3.4.38" "@vue/shared": "^3.5.3" }, "publishConfig":...