parent
20c0690352
commit
ed4860dfd9
4 changed files with 50 additions and 0 deletions
|
|
@ -100,6 +100,14 @@ export default Vue.component('misskey-flavored-markdown', {
|
|||
return [createElement('del', genEl(token.children))];
|
||||
}
|
||||
|
||||
case 'italic': {
|
||||
return (createElement as any)('i', {
|
||||
attrs: {
|
||||
style: 'font-style: oblique;'
|
||||
},
|
||||
}, genEl(token.children));
|
||||
}
|
||||
|
||||
case 'big': {
|
||||
bigCount++;
|
||||
const isLong = getTextCount(token.children) > 10 || getChildrenCount(token.children) > 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue