This is a nice feature, but the documentation is really missing
i suggest
// vite.config.js
import Markdown from 'vite-plugin-md'
export default {
plugins: [
Markdown({
// default options passed to markdown-it
// see: https://markdown-it.github.io/markdown-it/
markdownItOptions: {
html: true,
linkify: true,
typographer: true,
}
})
],
}
=>
import Markdown from 'vite-plugin-md'
import emoji from "markdown-it-emoji";
export default {
plugins: [
Markdown({
// default options passed to markdown-it
// see: https://markdown-it.github.io/markdown-it/
markdownItOptions: {
html: true,
linkify: true,
typographer: true,
},
// markdown-it plugin load
// add options , emoji => [emoji, options]
markdownItUses: [emoji],
})
],
}
This is a nice feature, but the documentation is really missing
i suggest
=>