docs: add comment for rehypeKatex
This commit is contained in:
parent
77a3f805e1
commit
37003b6e69
|
|
@ -182,7 +182,9 @@ export const renderPageContent = (
|
|||
ignoreMissing: true,
|
||||
showLineNumbers: true,
|
||||
})
|
||||
.use(rehypeKatex) // There may be $ symbol parsing errors
|
||||
// It will cause unexpected parsing to the `$` symbol, but there is currently no solution.
|
||||
// Move it to the end as it generates a lot of DOM and requires extensive traversal.
|
||||
.use(rehypeKatex)
|
||||
.use(html ? () => (tree: any) => {} : rehypeReact, {
|
||||
createElement: createElement,
|
||||
components: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue