Skip to content

Support quarto callout blocks - #3019

Open
BjarkeHautop wants to merge 2 commits into
r-lib:mainfrom
BjarkeHautop:callout-blocks
Open

Support quarto callout blocks#3019
BjarkeHautop wants to merge 2 commits into
r-lib:mainfrom
BjarkeHautop:callout-blocks

Conversation

@BjarkeHautop

Copy link
Copy Markdown

Quarto articles have their CSS stripped, which makes callouts appear as plain blockquotes instead of styled callouts. This PR searches for that specific pattern in the rendered HTML (while avoiding real blockquotes) and replaces them with the proper styling.

Ported from my proof-of-concept package https://bjarkehautop.github.io/quartofix/, where you can see it work. As you'll see there, I also have fixes for tabsets and code annotation, and I can open up PRs for those too if you want.

Fixes #2701

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The markdown syntax for alerts is not rendered properly

1 participant