Welcome to mirror list, hosted at ThFree Co, Russian Federation.

field_view.vue « markdown « components « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d77123371f28a8ab76298f7997df8122e41d7c20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<script>
import $ from 'jquery';
import '~/behaviors/markdown/render_gfm';

export default {
  mounted() {
    this.renderGFM();
  },
  methods: {
    renderGFM() {
      $(this.$el).renderGFM();
    },
  },
};
</script>

<template>
  <div><slot></slot></div>
</template>