Skip to content

Add markdown highlighting support in a md multiline string macro#277

Open
BenLauwens wants to merge 2 commits intoJuliaEditorSupport:masterfrom
BenLauwens:master
Open

Add markdown highlighting support in a md multiline string macro#277
BenLauwens wants to merge 2 commits intoJuliaEditorSupport:masterfrom
BenLauwens:master

Conversation

@BenLauwens
Copy link

A small addition to julia.json to allow markdown highlighting support in a md multiline string macro.
Successfully tested with visual-studio-code.

@pfitzseb
Copy link
Collaborator

pfitzseb commented Mar 6, 2024

We had these multiline macro strings defined earlier, but there are systematic issues with that: the injected grammar is not guaranteed to "terminate" (e.g. for unclosed code blocks in markdown, IIRC) at the closing triple quote.

ref #252, #244 (comment)

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.

2 participants