Vue Showdown
Use showdown.js in Vue
Showdown
Parse markdown text in client side with the power of showdown.js.
Vue component
Wrapped showdown.js as a Vue component, and you can use it easily.
Easy to use
Import and use it:
import { createApp } from 'vue';
import { VueShowdownPlugin } from 'vue-showdown';
import App from './App.vue';
const app = createApp(App);
app.use(VueShowdownPlugin, {
options: {
emoji: true,
},
});
Then use <VueShowdown />
component in your vue SFC:
<VueShowdown markdown="`vue-showdown` is easy to use :kissing_heart:" />
Result
vue-showdown
is easy to use 😘
See the detailed guide 👈