bug: quarto doesn't respect fenced divs for callouts in commonmark #13700
Replies: 2 comments 11 replies
-
|
Note that pandoc works here: |
Beta Was this translation helpful? Give feedback.
-
Pandoc does not have callout support, so what are you expecting as result exactly? I am trying to clarify if you expect the class on the div, or no blockquote syntax ? Defaults behavior of callouts is to be written as blockquotes in output. We do mention this in https://quarto.org/docs/authoring/callouts.html#format-support
We have a special support for GFM that does support alert mode Note Like this note. But for commonmark output, callouts will be a blockquote. To remove this, you'll need to use a Lua filter. I don't think we have We do keep the ::: {#nte-1 .callout-note}
This is a callout not getting fenced div class
:::<div id="nte-1">
> **Note 1**
>
> This is a callout not getting fenced div class
</div>but for now we do remove any other attributes. So, can you please clarify what you expect as output when using a callout class on a fenced div |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Quarto doesn't respect fenced divs when rendering to commonmark with commonmark output. Note that pandoc does correctly handle this.
Given a qmd file like this
then running
quarto render test.qmdcreateswhen it should create
Beta Was this translation helpful? Give feedback.
All reactions