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

Closed
PaulRBerg opened this issue May 20, 2024 · 3 comments
Closed

Support for Solidity code snippets in Markdown #572

PaulRBerg opened this issue May 20, 2024 · 3 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
@kanej kanej moved this to Todo in hardhat-vscode May 22, 2024
@michaeltomasik
Copy link
Contributor

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

@kanej
Copy link
Member

kanej commented Jul 26, 2024

Released as part of v0.8.4

@kanej kanej closed this as completed Jul 26, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in hardhat-vscode Jul 26, 2024
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: Done
Development

No branches or pull requests

3 participants