From bd0e6ab323b75df078604996427c6cd66dfcee7b Mon Sep 17 00:00:00 2001
From: Arne Schauf <git@asw.io>
Date: Tue, 6 Mar 2018 00:07:47 +0100
Subject: allow markdown in mod description

---
 src/pages/UploadDetail.vue | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'src/pages/UploadDetail.vue')

diff --git a/src/pages/UploadDetail.vue b/src/pages/UploadDetail.vue
index d85e3cc..223ad35 100644
--- a/src/pages/UploadDetail.vue
+++ b/src/pages/UploadDetail.vue
@@ -35,8 +35,11 @@
         </q-card-actions>
         <q-card-main>
           <p class="text-faded">
-            {{ upload.description }}
+            <vue-markdown class="markdown" :html="false" :source="upload.description"></vue-markdown>
           </p>
+        </q-card-main>
+        <q-card-title>Tags</q-card-title>
+        <q-card-main>
           <div class="group">
             <q-chip v-for="tag of upload.tags" :key="tag">{{ tag }}</q-chip>
           </div>
@@ -180,11 +183,13 @@
   import UploadVoter from 'components/UploadVoter'
   import CommentVoter from 'components/CommentVoter'
   import FileSaver from 'file-saver'
+  import VueMarkdown from 'vue-markdown'
 
   export default {
     components: {
       CommentVoter,
       UploadVoter,
+      VueMarkdown,
     },
     computed: {
       routeId () {
-- 
cgit v1.2.3-54-g00ecf

