wikijs-fork/server/extensions/renderer/markdown/emoji.js

16 lines
285 B
JavaScript
Raw Normal View History

const mdEmoji = require('markdown-it-emoji')
// ------------------------------------
// Markdown - Emoji
// ------------------------------------
module.exports = {
key: 'markdown/emoji',
title: 'Emoji',
dependsOn: [],
props: [],
init (md, conf) {
md.use(mdEmoji)
}
}