This commit is contained in:
Saifeddine ALOUI 2023-06-28 00:14:18 +02:00
parent 4976b6e9be
commit 205574de3a

View File

@ -1,6 +1,6 @@
<template>
<div class="break-all">
<div v-html="renderedMarkdown" class=""></div>
<div v-html="renderedMarkdown" class="markdown-content"></div>
</div>
</template>
@ -82,6 +82,7 @@ const markdownIt = new MarkdownIt('commonmark', {
'</div>';
return codeString;
},
bulletListMarker: '•',
}).use(emoji).use(attrs); // Add attrs plugin for adding attributes to elements
markdownIt.renderer.rules.link_open = (tokens, idx, options, env, self) => {