diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-05 12:33:51 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-05 12:33:51 +0900 |
| commit | cd28504dd8e4623ed864de2ad76e88e1022b08b1 (patch) | |
| tree | 3b0553c92b6e5d10478e565817c766a9ad1a5859 /src/client | |
| parent | Merge branch 'master' of https://github.com/syuilo/misskey (diff) | |
| download | misskey-cd28504dd8e4623ed864de2ad76e88e1022b08b1.tar.gz misskey-cd28504dd8e4623ed864de2ad76e88e1022b08b1.tar.bz2 misskey-cd28504dd8e4623ed864de2ad76e88e1022b08b1.zip | |
Add new MFM syntax
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/views/components/misskey-flavored-markdown.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/client/app/common/views/components/misskey-flavored-markdown.ts b/src/client/app/common/views/components/misskey-flavored-markdown.ts index f9c97bd35a..683b4e806c 100644 --- a/src/client/app/common/views/components/misskey-flavored-markdown.ts +++ b/src/client/app/common/views/components/misskey-flavored-markdown.ts @@ -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: { |