Skip to content

Commit

Permalink
fix: line highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Dec 16, 2023
1 parent 9eecb0c commit 050eb87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/composables/useMarkdownIt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ export default function useMarkdownIt(theme: 'light' | 'dark' = 'light') {
})
.use(abbreviation)
.use(attrs, {
// optional, these are default options
leftDelimiter: '{',
rightDelimiter: '}',
// optional, these are default options
leftDelimiter: '{{', // Do not use single curly, it will conflict with code line syntax highlighting
rightDelimiter: '}}', // Do not use single curly, it will conflict with code line syntax highlighting
allowedAttributes: ['id', 'class', 'style', 'target', 'rel', /^data.*$/], // allow-list
})
.use(markdownItTextualUml)
Expand Down

0 comments on commit 050eb87

Please sign in to comment.