Skip to content

Commit

Permalink
fix: Display links in markdown AI response
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Sep 4, 2024
1 parent 1fe4254 commit e258d2f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/MarkdownRenderer.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="markdown-component" v-html="renderedContent"></div>
<div class="markdown-message" v-html="renderedContent"></div>
</template>

<script lang="ts" setup>
Expand Down Expand Up @@ -46,3 +46,9 @@ watch(
},
);
</script>

<style scoped>
.markdown-message :deep(a) {
text-decoration: revert;
}
</style>

0 comments on commit e258d2f

Please sign in to comment.