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
In markdown code blocks can be highlighted in VSCode. Example text
# Markdown Some text here with *italics* and **bold** and [links](#foo). Some JavaScript ```js console.log('hello world'); ``` Some **C#** ```csharp class Foo { void process() { System.Console.WriteLine("Hello World!"); } } ``` Some **C++** ```cpp #include <stdio.h> int main(int argc, const char** argv) { printf("hello world\n"); return 0; } ``` Some **GLSL** ```glsl in vec4 position; uniform mat4 matrix; void main() { gl_Position = matrix * position; } ```
And the result in my VSCode looks like this
You can see above JavaScript, C++, C# are all syntax highlighted but not GLSL
Note that if I make a .glsl file then the syntax is highlighted
Any idea how to get VS code to use GLSL highlighting for GLSL blocks in markdown?
The text was updated successfully, but these errors were encountered:
found this example
https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example
Sorry, something went wrong.
build a vscode plugin,inject glsl to markdown. Maybe Usefull https://marketplace.visualstudio.com/items?itemName=onemore.codeblock-syntax-highlight
I've been trying several GLSL extensions to have this working but so far none work. Would be really useful to support this
No branches or pull requests
In markdown code blocks can be highlighted in VSCode. Example text
And the result in my VSCode looks like this
You can see above JavaScript, C++, C# are all syntax highlighted but not GLSL
Note that if I make a .glsl file then the syntax is highlighted
Any idea how to get VS code to use GLSL highlighting for GLSL blocks in markdown?
The text was updated successfully, but these errors were encountered: