Closed eitsupi closed 1 year ago
@eitsupi thanks for the report as always. I was having a hard time reproducing your bug, but mostly because there was a different bug. JJ and I did fix the spacing issue you saw, but locally I'm seeing a larger problem, which is that a tabset inside a callout wouldn't get rendered at all.
On main
, I see this as the .md output for your file:
---
title: foo
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
## test {#test}
<Tabs>
<TabItem value="Not work">
foo
</TabItem>
<TabItem value="Work">
bar
</TabItem>
</Tabs>
After my fix, I see this:
---
title: foo
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
## test {#test}
<Tabs>
<TabItem value="Not work">
:::important
This is important
:::
foo
</TabItem>
<TabItem value="Work">
bar
:::important
This is important
:::
</TabItem>
</Tabs>
(Note the correct spacing, though!) Thanks for the continued patience on this. v1.3 has a large structural change in our filters, and custom formats took a bigger hit than we had envisioned.
Thank you for working on fixing this immediately!
I was having a hard time reproducing your bug, but mostly because there was a different bug. JJ and I did fix the spacing issue you saw, but locally I'm seeing a larger problem, which is that a tabset inside a callout wouldn't get rendered at all.
Sorry for not reporting that. I didn't report it because it seemed to have been fixed while going back and forth between the 1.2 and dev versions on my local, but on second thought I think I may have just been looking at a 1.2 converted md file... So, this bug is in 1.2, and as you discovered, there was a bigger bug in 1.3...
This should be fixed now on main
, from https://github.com/quarto-dev/quarto-cli/commit/35fd0b30b90b6c0327c11a91120934a353a5e27f
Works fine, thanks!
Bug description
When the following qmd file is rendered in the Docusaurus project, the first callout block is not rendered correctly.
It seems that a blank line is required between
<TabItem value="Not work">
and:::important
.I tested it with 1.2 and the edge unreleased version on Debian Linux.
Checklist
quarto check
so we know which version of quarto and its dependencies you're running.