Skip to content

Commit

Permalink
docs: add note about compatibility with markdown-it-attrs (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Jan 14, 2024
1 parent 69f72bc commit da394fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/packages/markdown-it.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ console.log('3') // highlighted
console.log('4') // highlighted
```
````

::: note
If line highlighting is not working, it may be due to compatibility issues with the [markdown-it-attrs](https://github.com/arve0/markdown-it-attrs) plugin. The syntax of `markdown-it-attrs` uses the same curly brace (`{}`) syntax that this plugin uses, which causes line highlighting to not work. If you wish to continue using `markdown-it-attrs` alongside this plugin, consider [changing the delimiter/syntax](https://github.com/arve0/markdown-it-attrs#custom-delimiters) of `markdown-it-attrs` to use a different character, such as `%`.
:::

0 comments on commit da394fb

Please sign in to comment.