Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Quarto Callout Blocks #268

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dmetivie
Copy link

Following #267 I implemented (basically copying your code) support for callout quarto blocks.
I added a test (hope it works, as I add plenty of weird message trying to run it).

I tried to add in the regex a function for detecting if there is a collapse="true" but could not get it work (I am not good at regex).

@dmetivie
Copy link
Author

I noticed a bug. If there is a space after the name of the block, the regex won't detect the block
e.g.

!!! warning 
    This won't be detected (of course no one see the space after warning but it is here!)

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.

1 participant