Skip to content

Releases: shunnNet/vue-markdown

1.1.4

08 Jul 14:20

Choose a tag to compare

What's Changed

  • fix: handle undefined value for code node content by @yuguaa in #18

New Contributors

Full Changelog: 1.1.3...1.1.4

1.1.2

01 Jul 14:42

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.1.1...1.1.2

1.1.1

22 Jun 02:48

Choose a tag to compare

What's Changed

  • docs(readme): add network dependents badge by @gouravkhunger in #10
  • docs(readme): add section for rendering HTML with rehype-raw plugin

New Contributors

Full Changelog: 1.1.0...1.1.1

1.1.0

16 Jun 15:53
8f8f083

Choose a tag to compare

What's Changed

  • release 1.1 by @shunnNet in #9
    • feat: Add VueMarkdownAsync component 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.

Full Changelog: v1.0.7...1.1.0

v1.0.7

31 May 04:54

Choose a tag to compare

What's Changed

  • fix: #3 incorrectly convert svg attributes in #5

Full Changelog: v1.0.4...v1.0.7

v1.0.4

07 May 14:46

Choose a tag to compare

🛠️ Fix

  • fix: language and languageOriginal always empty by @Malakasd748 in #2

🎉New Contributors

  • @Malakasd748 made their first contribution in #2

Full Changelog: v1.0.2...v1.0.4

v1.0.2

07 Dec 17:58

Choose a tag to compare

Breaking Change

  • <VueMarkdown /> changed from default export to named export.
  • When inserting a markdown slot, add the s- prefix.

View detailed instructions

What's New?

Full Changelog

v0.3.0...v1.0.2

0.3.0

02 Dec 15:35

Choose a tag to compare

Full Changelog: 0.2.0...0.3.0

What Changed ?

  • 🚀 Add the content property 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>