Replies: 4 comments 2 replies
-
This is a rust highlighter, you may use it https://github.com/trishume/syntect Maybe in a verbose mode, as a diff or as before/after provided with highlighting in the console |
Beta Was this translation helpful? Give feedback.
-
By creating #161 I found this interesting resources: I think it's the list of "fenced blockquote" known by GitHub Flavored Markdown https://github.com/github-linguist/linguist/blob/master/vendor/README.md This file comes with interesting information such as grammar parser https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml |
Beta Was this translation helpful? Give feedback.
-
Other source of inspiration https://github.com/benwis/femark I'm curious how they handled the go partial code if they did |
Beta Was this translation helpful? Give feedback.
-
This article explains what GitHub does for syntax highlighting via linguist Mdsf is not about highlighting. But it could lead to interesting thing if you could use linguist or something like that to identify:
```
{"value"}
``` ```json
{"value"}
```
```json
{"value"} // comment
``` ```jsonc
{"value"} // comment
``` |
Beta Was this translation helpful? Give feedback.
-
The idea of this discussion is to use thread for random ideas that do not necessarily require an issue yet. But may need to discuss about them
Beta Was this translation helpful? Give feedback.
All reactions