executablebooks / myst-vs-code

A syntax highlighter for the MyST Markdown format
https://marketplace.visualstudio.com/items?itemName=ExecutableBookProject.myst-highlight
MIT License
35 stars 15 forks source link

[FIX] ignore whitespace before directive after ::: #53

Closed tavin closed 1 year ago

tavin commented 1 year ago

This change fixes directives with spaces between them and the colon fence:

::: {note}

Cf. https://myst-parser.readthedocs.io/en/stable/live-preview.html

image

welcome[bot] commented 1 year ago

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.
Welcome to the EBP community! :tada:

welcome[bot] commented 1 year ago

Congrats on your first merged pull request in this project! :tada: congrats
Thank you for contributing, we are very proud of you! :heart:

chrisjsewell commented 1 year ago

cheers!