From a3d1ae13c0108bd24250573e0921bc918a9c6051 Mon Sep 17 00:00:00 2001
From: TAKAHASHI Shuuji 1 * 2 * 3
1 * 2 * 3
[(\`number string) (\`tag string)]"`; exports[`content-rich > block with injected html, with a known language 1`] = ` diff --git a/tests/nuxt/content-rich.test.ts b/tests/nuxt/content-rich.test.ts index 1a826082..3eb7982f 100644 --- a/tests/nuxt/content-rich.test.ts +++ b/tests/nuxt/content-rich.test.ts @@ -187,6 +187,11 @@ describe('content-rich', () => { expect(formatted).toMatchSnapshot() }) + it ('asterisk paris in inline code', async () => { + const { formatted } = await render('
`1 * 2 * 3`
') + expect(formatted).toMatchSnapshot() + }) + it ('asterisk paris in code block', async () => { const { formatted } = await render('```
1 * 2 * 3
```