ShowComment
file: code/ShowComment.vue 22: <script> 23: import VueMarkdown from 'vue-markdown' 24: import AddComment from './AddComment.vue'; 25: 26: export default { 27: name: 'ShowComment', 28: props: [ 29: 'comment', 'topicUrl' 30: ], 31: components: { 32: VueMarkdown, AddComment 33: }, 34: methods: { 35: commentUrl(comment){ 36: return this.topicUrl + '/' + comment.ident; 37: } 38: } 39: } 40: </script>
A Markdown renderer