fix: escape backticks within codeblocks
resolves https://github.com/elk-zone/elk/issues/970
This commit is contained in:
parent
a12d3d09b1
commit
8da4a8e78a
3 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
// Vitest Snapshot v1
|
||||
|
||||
exports[`content-rich > block with backticks 1`] = `"<p><pre>[(\`number string) (\`tag string)]</pre></p>"`;
|
||||
|
||||
exports[`content-rich > code frame 1`] = `
|
||||
"<p>Testing code block</p><p></p><p><pre lang=\\"ts\\">import { useMouse, usePreferredDark } from '@vueuse/core'
|
||||
// tracks mouse position
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue