Add new MFM syntax

This commit is contained in:
syuilo
2018-08-05 12:33:51 +09:00
parent f762cf2770
commit cd28504dd8
5 changed files with 50 additions and 2 deletions

View File

@ -69,6 +69,17 @@ export default Vue.component('misskey-flavored-markdown', {
}]
}, token.big);
case 'motion':
return (createElement as any)('span', {
attrs: {
style: 'display: inline-block;'
},
directives: [this.$store.state.settings.disableAnimatedMfm ? {} : {
name: 'animate-css',
value: { classes: 'rubberBand', iteration: 'infinite' }
}]
}, token.motion);
case 'url':
return createElement(MkUrl, {
props: {