Skip to content

How to make quarto preserve a callout div in format: commonmark? #9458

Answered by JosiahParry
JosiahParry asked this question in Q&A
Discussion options

You must be logged in to vote

So in order to get quarto to respect the rendering of the existing commonmark syntax to commonmark syntax e.g. format: commonmark, the commonmark syntax needs to be wrapped in the following. Is that correct?

```{=markdown}
:::{.callout-warning}
my warning message
:::
```

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@JosiahParry
Comment options

@mcanouil
Comment options

@JosiahParry
Comment options

Answer selected by JosiahParry
Comment options

You must be logged in to vote
3 replies
@JosiahParry
Comment options

@mcanouil
Comment options

@JosiahParry
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
markdown Related to markdown-like output format
3 participants