Skip to content

Commit

Permalink
Merge pull request #11349 from Jarsen136/issue-11348
Browse files Browse the repository at this point in the history
fix: Not recognising links in collection description
  • Loading branch information
vikiival authored Jan 9, 2025
2 parents 306d2ce + 3705956 commit e68e906
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/shared/Markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ defineProps<{
const markdown = new MarkdownIt({
breaks: true,
linkify: true,
highlight: (code: string, lang: string) => {
if (lang && Prism.languages[lang]) {
return `<pre class="language-${lang}"><code>${Prism.highlight(
Expand Down

0 comments on commit e68e906

Please sign in to comment.