[MFM] Implement strike syntax

Resolve #3485
This commit is contained in:
syuilo
2018-12-04 01:28:21 +09:00
parent ce3f735654
commit 6e343d50f1
4 changed files with 40 additions and 0 deletions

View File

@ -96,6 +96,10 @@ export default Vue.component('misskey-flavored-markdown', {
return [createElement('b', genEl(token.children))];
}
case 'strike': {
return [createElement('del', genEl(token.children))];
}
case 'big': {
bigCount++;
const isLong = getTextCount(token.children) > 10 || getChildrenCount(token.children) > 5;