1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-18 00:29:00 +09:00
MisskeyIO/src/client/app/common/views/components/misskey-flavored-markdown.vue

39 lines
590 B
Vue

<template>
<mfm-core v-bind="$attrs" class="havbbuyv" v-once/>
</template>
<script lang="ts">
import Vue from 'vue';
import MfmCore from './mfm';
export default Vue.extend({
components: {
MfmCore
}
});
</script>
<style lang="stylus" scoped>
.havbbuyv
white-space pre-wrap
>>> .title
display block
margin-bottom 4px
padding 4px
font-size 90%
text-align center
background var(--mfmTitleBg)
border-radius 4px
>>> .quote
margin 8px
padding 6px 0 6px 12px
color var(--mfmQuote)
border-left solid 3px var(--mfmQuoteLine)
>>> pre code
font-size 80%
</style>