Bug description
If we use mdx in mdx files, it doesn't seem necessary to write it as code blocks.
``` mdx-code-block should be changed to ```mdx-code-block
Steps to reproduce
---
title: foo
format: docusaurus-md
---
```{=mdx}
export const Highlight = ({children, color}) => (
<span
style={{
backgroundColor: color,
borderRadius: '2px',
color: '#fff',
padding: '0.2rem',
}}>
{children}
</span>
);
<Highlight color="#25c2a0">Docusaurus GREEN</Highlight> and <Highlight color="#1877F2">Rams blue</Highlight> are my favorite colors.
I can write **Markdown** alongside my _JSX_!
```
Expected behavior
---
title: foo
format: docusaurus-md
---
```mdx-code-block
export const Highlight = ({children, color}) => (
<span
style={{
backgroundColor: color,
borderRadius: '2px',
color: '#fff',
padding: '0.2rem',
}}>
{children}
</span>
);
<Highlight color="#25c2a0">Docusaurus GREEN</Highlight> and <Highlight color="#1877F2">Rams blue</Highlight> are my favorite colors.
I can write **Markdown** alongside my _JSX_!
```
Actual behavior
---
title: foo
format: docusaurus-md
---
``` mdx-code-block
export const Highlight = ({children, color}) => (
<span
style={{
backgroundColor: color,
borderRadius: '2px',
color: '#fff',
padding: '0.2rem',
}}>
{children}
</span>
);
<Highlight color="#25c2a0">Docusaurus GREEN</Highlight> and <Highlight color="#1877F2">Rams blue</Highlight> are my favorite colors.
I can write **Markdown** alongside my _JSX_!
```
Your environment
Quarto check output
$ quarto check
Quarto 1.4.545
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.4.545
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[✓] Checking LaTeX....................OK
Tex: (not detected)
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12
Path: /usr/local/python/current/bin/python3
Jupyter: 5.7.1
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.3.2
Path: /usr/local/lib/R
LibPaths:
- /workspaces/querying-with-prql/renv/library/R-4.3/x86_64-pc-linux-gnu
- /usr/local/lib/R/library
knitr: 1.45
rmarkdown: 2.25
[✓] Checking Knitr engine render......OK
Bug description
If we use mdx in mdx files, it doesn't seem necessary to write it as code blocks.``` mdx-code-blockshould be changed to```mdx-code-blockSteps to reproduce
Expected behavior
Actual behavior
Your environment
Quarto check output
$ quarto check Quarto 1.4.545 [✓] Checking versions of quarto binary dependencies... Pandoc version 3.1.11: OK Dart Sass version 1.69.5: OK Deno version 1.37.2: OK [✓] Checking versions of quarto dependencies......OK [✓] Checking Quarto installation......OK Version: 1.4.545 Path: /opt/quarto/bin [✓] Checking tools....................OK TinyTeX: (not installed) Chromium: (not installed) [✓] Checking LaTeX....................OK Tex: (not detected) [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.10.12 Path: /usr/local/python/current/bin/python3 Jupyter: 5.7.1 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.3.2 Path: /usr/local/lib/R LibPaths: - /workspaces/querying-with-prql/renv/library/R-4.3/x86_64-pc-linux-gnu - /usr/local/lib/R/library knitr: 1.45 rmarkdown: 2.25 [✓] Checking Knitr engine render......OK