You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wiki/server/modules/rendering/twemoji/renderer.mjs

15 lines
342 B

// const twemoji = require('twemoji')
// ------------------------------------
// HTML - Twemoji
// ------------------------------------
module.exports = {
init (input, conf) {
// TODO: Must limit to text nodes only (exclude code blocks, already processed emojis, etc.)
//
// return twemoji.parse(input)
return input
}
}