diff --git a/web/src/components/MarkdownRenderer.vue b/web/src/components/MarkdownRenderer.vue index a8b6632d..3e97b25d 100644 --- a/web/src/components/MarkdownRenderer.vue +++ b/web/src/components/MarkdownRenderer.vue @@ -1,5 +1,5 @@ @@ -32,36 +32,30 @@ const markdownIt = new MarkdownIt('commonmark', { return ( - '
' + + '
' + languageCapital + - '
' +
+          '
' +
 
-          '' +
+          '' +
           hljs.highlightAuto(str).value +
           '
' + '
' ); } catch (__) { } } - // return ( - // '
' +
-    //   '' +
-    //   markdownIt.utils.escapeHtml(str) +
-    //   '
' - // ); - return ( - '
' + + '
' + languageCapital + - '
' +
+      '
' +
 
-      '' +
+      '' +
       markdownIt.utils.escapeHtml(str) +
       '
' + '
' ); + } }).use(emoji); @@ -116,4 +110,4 @@ export default { }; - \ No newline at end of file + \ No newline at end of file diff --git a/web/src/components/Message.vue b/web/src/components/Message.vue index b9d48667..5ab6f58a 100644 --- a/web/src/components/Message.vue +++ b/web/src/components/Message.vue @@ -1,14 +1,14 @@