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 Solidity code snippets in Markdown #572

Open
PaulRBerg opened this issue May 20, 2024 · 2 comments
Open

Support for Solidity code snippets in Markdown #572

PaulRBerg opened this issue May 20, 2024 · 2 comments
Labels
status:ready This issue is ready to be worked on

Comments

@PaulRBerg
Copy link

See context on Twitter: Is there any VSCode extension that can enable syntax highlighting for Solidity code blocks in Markdown?

It appears that Juan Blanco's extension offers support for Solidity code snippets in Markdown.

@kanej
Copy link
Member

kanej commented May 22, 2024

This seems to be done with an injection grammar: https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#injection-grammars

We should see if there are any guidelines for the standard markdown extension.

@kanej kanej added status:ready This issue is ready to be worked on and removed status:triaging labels May 22, 2024
@michaeltomasik
Copy link
Contributor

Hey @kanej & @PaulRBerg just made a PR for this issue #575

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on
Projects
Status: Todo
Development

No branches or pull requests

3 participants