diff options
Diffstat (limited to 'packages/markdown/remark/src/remark-shiki.ts')
-rw-r--r-- | packages/markdown/remark/src/remark-shiki.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/markdown/remark/src/remark-shiki.ts b/packages/markdown/remark/src/remark-shiki.ts index 6cd3861e5..58ed16369 100644 --- a/packages/markdown/remark/src/remark-shiki.ts +++ b/packages/markdown/remark/src/remark-shiki.ts @@ -76,8 +76,8 @@ export function remarkShiki({ // It would become this before hitting our regexes: // <span class="line" - // Replace "shiki" class naming with "astro" and add "is:raw". - html = html.replace(/<pre class="(.*?)shiki(.*?)"/, `<pre is:raw class="$1astro-code$2"`); + // Replace "shiki" class naming with "astro". + html = html.replace(/<pre class="(.*?)shiki(.*?)"/, `<pre class="$1astro-code$2"`); // Add "user-select: none;" for "+"/"-" diff symbols if (node.lang === 'diff') { html = html.replace( |