diff --git a/src/resources/extensions/quarto/docusaurus/docusaurus.lua b/src/resources/extensions/quarto/docusaurus/docusaurus.lua index de89da36123..517bc2c8180 100644 --- a/src/resources/extensions/quarto/docusaurus/docusaurus.lua +++ b/src/resources/extensions/quarto/docusaurus/docusaurus.lua @@ -148,11 +148,15 @@ end, function(node) end) return { - traverse = "topdown", - Pandoc = Pandoc, - Image = Image, - Header = Header, - RawBlock = RawBlock, - DecoratedCodeBlock = DecoratedCodeBlock, - CodeBlock = CodeBlock, -} + { + traverse = "topdown", + Image = Image, + Header = Header, + RawBlock = RawBlock, + DecoratedCodeBlock = DecoratedCodeBlock, + CodeBlock = CodeBlock, + }, + { + Pandoc = Pandoc, + } +} \ No newline at end of file diff --git a/tests/docs/smoke-all/2024/01/18/8331.qmd b/tests/docs/smoke-all/2024/01/18/8331.qmd new file mode 100644 index 00000000000..0e8bbc077e6 --- /dev/null +++ b/tests/docs/smoke-all/2024/01/18/8331.qmd @@ -0,0 +1,14 @@ +--- +title: foo +format: docusaurus-md +_quarto: + tests: + docusaurus-md: + ensureFileRegexMatches: + - ["export const quartoRawHtml"] + - [] +--- + +```{=html} +Content +``` \ No newline at end of file