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

43 lines
673 B
Vue
Raw Normal View History

<template>
2019-07-06 00:46:00 +09:00
<mfm-core v-bind="$attrs" class="havbbuyv" :class="{ nowrap: $attrs['nowrap'] }" 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
2019-07-06 00:46:00 +09:00
&.nowrap
white-space pre
>>> .title
display block
margin-bottom 4px
padding 4px
font-size 90%
text-align center
background var(--mfmTitleBg)
border-radius 4px
>>> .quote
display block
margin 8px
2018-11-25 13:47:42 +09:00
padding 6px 0 6px 12px
color var(--mfmQuote)
border-left solid 3px var(--mfmQuoteLine)
2019-01-27 20:03:58 +09:00
>>> pre code
font-size 80%
</style>