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

Syntax highlighting in markdown code blocks #3

Open
JohannesRudolph opened this issue Nov 4, 2019 · 0 comments
Open

Syntax highlighting in markdown code blocks #3

JohannesRudolph opened this issue Nov 4, 2019 · 0 comments

Comments

@JohannesRudolph
Copy link

I'm not sure how other languages do it, but it appears there's a way that vscode-language-dhall needs to register for supporting dhall code in markdown fenced code blocks: https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example

As an example I'd like to have syntax highlighting in the following code block ( \ used to escape backticks):

\```dhall
let Monoid
    : ∀(m : Type) → Type
    = λ(m : Type) → List m → m

in  Monoid
\```

Right now there's no syntax highlighting in fenced code blocks.

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

No branches or pull requests

1 participant