We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can you point me on the right direction as to how to select a different language other than JS when highlighting using this decorator?
I can try putting something together so that this repo could have an example on the README on how to do that.
The text was updated successfully, but these errors were encountered:
I have the same question! Thanks again:)
Sorry, something went wrong.
Yeah same, I would like for it to auto detect which language!
Here is how you are able to do that:
{ type: "code-block", text: 'var message = "This is awesome!";', data: { syntax: "javascript", }, }, { type: "code-block", text: "<h1>I am superman</h1>", data: { syntax: "html", }, },
so, you just need to figure out how blocks are working and add a block with syntax you need
No branches or pull requests
Can you point me on the right direction as to how to select a different language other than JS when highlighting using this decorator?
I can try putting something together so that this repo could have an example on the README on how to do that.
The text was updated successfully, but these errors were encountered: