Skip to content
Snippets Groups Projects
Commit 572a38ad authored by syuilo's avatar syuilo
Browse files

より良い方法が思いつくまで<i>で代用

parent 93149de5
No related branches found
No related tags found
No related merge requests found
const riot = require('riot');
const nyaize = require('nyaize').default;
const emojinize = require('emojinize');
//const emojinize = require('emojinize');
const CONFIG = require('./config');
const escape = text =>
......@@ -33,7 +33,8 @@ module.exports = (tokens, shouldBreak) => {
case 'inline-code':
return '<code>' + token.html + '</code>';
case 'emoji':
return emojinize.encode(token.content)
return '<i>' + token.content + '</i>';
//return emojinize.encode(token.content)
}
}).join('');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment