I've got some notes in GitHub Flavored Markdown, e.g.:
```csharp
for (int i = 0 ; i < 10; i++)
{
// Code to execute.
}
```
I don't get any syntax highlighting when I try to convert it from markdown_github to HTML. Replacing csharp with C# doesn't help. I expect something like
for (int i = 0 ; i < 10; i++)
{
// Code to execute.
}
For other languages (e.g. C or JavaScript) it works fine.
This is not obvious and should be documented somewhere in
pandoc itself (as opposed to highlighting-kate), but cs should work.
+++ salmiakki [Apr 26 15 15:46 ]:
I've got some notes in GitHub Flavored Markdown, e.g.:
```csharp for (int i = 0 ; i < 10; i++) { // Code to execute. }``````
I don't get any syntax highlighting when I try to convert it from
markdown_githubto HTML. ReplacingcsharpwithC#doesn't help. I expect something like```csharp
for (int i = 0 ; i < 10; i++)
{
// Code to execute.
}
``````For other languages (e.g. C or JavaScript) it works fine.
Reply to this email directly or view it on GitHub:
https://github.com/jgm/pandoc/issues/2117
It does, thanks!
Maybe it could be a good idea to add C# and csharp (both used in GFM) as aliases to pandoc or even highlighting-kate?
Most helpful comment
This is not obvious and should be documented somewhere in
pandoc itself (as opposed to highlighting-kate), but
csshould work.+++ salmiakki [Apr 26 15 15:46 ]: