The markdown syntax highlighting for code blocks should highlight the code inside the code block as per the language it is written in.
I tried this already with a very long markdown.yaml file and it crashes Micro. I told zyedidia & he mentioned something about using the ~Discorse~ Literate plugin to do it, but I can't remember how. Search in Gitter for the conversation & you should find it.
also interested in this feature
This could be done if include allowed a regex capturing group. Based on the vue
- default:
start: "```go"
end: "```"
rules:
- include: "go"
- default:
start: "```lua"
end: "```"
rules:
- include: "lua"
- default:
start: "```(.+?)" # capturing group
end: "```"
rules:
- include: "$1" # reference capturing group
related to #1540
I tried this already with a very long
markdown.yamlfile and it crashes Micro.
I came across a crash like this, and it was because i included markdown. The recursive inclusion gobbled up all my memory.
Most helpful comment
I tried this already with a very long
markdown.yamlfile and it crashes Micro. I told zyedidia & he mentioned something about using the ~Discorse~ Literate plugin to do it, but I can't remember how. Search in Gitter for the conversation & you should find it.