const riot = require('riot');
const nyaize = require('nyaize').default;
const escape = function(text) {
return text
.replace(/>/g, '>')
.replace(/' : ' ');
case 'bold':
return '' + escape(token.bold) + '';
case 'link':
return '
' + escape(token.code) + '
';
}
}).join('');
text = text.replace(//g, '').replace(/<\/code><\/pre>
/g, '
');
if (me && me.data && me.data.nya) {
text = nyaize(text);
}
return text;
}