Implement new MFM syntax
This commit is contained in:
parent
42fbc7ab66
commit
d456e5e45c
5 changed files with 49 additions and 1 deletions
|
|
@ -56,7 +56,18 @@ export default Vue.component('misskey-flavored-markdown', {
|
|||
}
|
||||
|
||||
case 'bold':
|
||||
return createElement('strong', token.bold);
|
||||
return createElement('b', token.bold);
|
||||
|
||||
case 'big':
|
||||
return (createElement as any)('strong', {
|
||||
attrs: {
|
||||
style: 'display: inline-block; font-size: 200%;'
|
||||
},
|
||||
directives: [{
|
||||
name: 'animate-css',
|
||||
value: { classes: 'tada', iteration: 'infinite' }
|
||||
}]
|
||||
}, token.big);
|
||||
|
||||
case 'url':
|
||||
return createElement(MkUrl, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue