Releases: shunnNet/vue-markdown
Releases · shunnNet/vue-markdown
1.1.4
1.1.2
1.1.1
What's Changed
- docs(readme): add network dependents badge by @gouravkhunger in #10
- docs(readme): add section for rendering HTML with
rehype-rawplugin
New Contributors
- @gouravkhunger made their first contribution in #10
Full Changelog: 1.1.0...1.1.1
1.1.0
What's Changed
- release 1.1 by @shunnNet in #9
- feat: Add
VueMarkdownAsynccomponent for supporting async plugin - feat: The component re-renders whenever any of the props change.
- feat: render html as raw text by default
- feat: export internal function like
createProcessor,createMarkdownProcessor,render... for extensibility.
- feat: Add
Full Changelog: v1.0.7...1.1.0
v1.0.7
v1.0.4
v1.0.2
Breaking Change
<VueMarkdown />changed from default export to named export.- When inserting a markdown slot, add the
s-prefix.
What's New?
- ⬆️ Upgrade
unifiedfromv10tov11, see compatible plugins version - 🌴 Add more Typescript support
- Support
rehypeOptions
Full Changelog
0.3.0
Full Changelog: 0.2.0...0.3.0
What Changed ?
- 🚀 Add the
contentproperty to the scoped slot of<code>to access the text content of the<code>block. ( #1 )
<!-- For example -->
<template>
<VueMarkdown :markdown="markdown">
<template #code="{ children, ...props}">
<MyCustomCodeBlock :code="props.content" :lang="props.language" />
<!-- Or -->
<code>
<component :is="children" />
</code>
</template>
</VueMarkdown>
</template>