debian-mirror-gitlab/app/assets/javascripts/snippets/components/snippet_description_view.vue
2020-05-25 16:23:42 +05:30

21 lines
485 B
Vue

<script>
import MarkdownFieldView from '~/vue_shared/components/markdown/field_view.vue';
export default {
components: {
MarkdownFieldView,
},
props: {
description: {
type: String,
required: false,
default: '',
},
},
};
</script>
<template>
<markdown-field-view class="snippet-description" data-qa-selector="snippet_description_field">
<div class="md js-snippet-description" v-html="description"></div>
</markdown-field-view>
</template>