Though I am not against syntax highlighting in code "fence" section, it is weird as of now.
Looking at the md-cheatsheet/README.md in source directory, one can see a few oddities
Markdown in code section got highlighted randomly; part of heading is green, part of link is blue.
When it is simple text, like in GPL at the end of the file, only words are highlighted like 'in' , 'the', 'or'.
I don't know if it comes from libhighlight, but why not disable syntax highliting in code section, unless a specific syntax is requested (like c, or python or whatever)by specifying the syntax wanted at the start of the fence section.
Or, have some heuristics guess the type of the code, to apply the good syntax highlighting. But that's some work, unless this exists somewhere as a lib...
Edit:
I tried disabling manually syntax highlighting by using a tip found online, it does not work.
I tried:
```text
Disable syntax hightlighting here by using "text" syntax highlight
```
aah this does not work here either (see text is red)
Though I am not against *syntax highlighting* in **code "fence" section**, it is weird as of now.
Looking at the `md-cheatsheet/README.md` in source directory, one can see a few *oddities*
* Markdown in code section got highlighted randomly; part of heading is green, part of link is blue.
* When it is simple text, like in GPL at the end of the file, only words are highlighted like 'in' , 'the', 'or'.
I don't know if it comes from *libhighlight*, but why not disable syntax highliting in code section, unless a specific syntax is requested (like c, or python or whatever)by specifying the syntax wanted at the start of the fence section.
Or, have some *heuristics* guess the type of the code, to apply the good syntax highlighting. But that's some work, unless this exists somewhere as a lib...
Edit:
I tried disabling manually syntax highlighting by using a tip found online, it does not work.
I tried:
```text
Disable syntax hightlighting here by using "text" syntax highlight
```
aah this does not work here either (see text is red)
Though I am not against syntax highlighting in code "fence" section, it is weird as of now.
Looking at the
md-cheatsheet/README.md
in source directory, one can see a few odditiesMarkdown in code section got highlighted randomly; part of heading is green, part of link is blue.
When it is simple text, like in GPL at the end of the file, only words are highlighted like 'in' , 'the', 'or'.
I don't know if it comes from libhighlight, but why not disable syntax highliting in code section, unless a specific syntax is requested (like c, or python or whatever)by specifying the syntax wanted at the start of the fence section.
Or, have some heuristics guess the type of the code, to apply the good syntax highlighting. But that's some work, unless this exists somewhere as a lib...
Edit: I tried disabling manually syntax highlighting by using a tip found online, it does not work.
I tried:
aah this does not work here either (see text is red)