Implemented a rotate MFM (#8016)

Co-authored-by: Richard Bowey <me@epickitty.uk>
This commit is contained in:
Richard "EpicKitty" Bowey
2021-11-26 04:39:57 +00:00
committed by GitHub
parent aaba43e754
commit dec7c4f722
4 changed files with 19 additions and 1 deletions

View File

@ -281,6 +281,16 @@
</div>
</div>
</div>
<div class="section _block">
<div class="title">{{ $ts._mfm.rotate }}</div>
<div class="content">
<p>{{ $ts._mfm.rotateDescription }}</p>
<div class="preview">
<Mfm :text="preview_rotate"/>
<MkTextarea v-model="preview_rotate"><span>MFM</span></MkTextarea>
</div>
</div>
</div>
</div>
</template>
@ -328,6 +338,7 @@ export default defineComponent({
preview_blur: `$[blur ${this.$ts._mfm.dummy}]`,
preview_rainbow: `$[rainbow 🍮]`,
preview_sparkle: `$[sparkle 🍮]`,
preview_rotate: `$[rotate 🍮]`,
}
},
});