I have a question about code folding and the Github Markdown language. Right now if I have a *.md file and use the Github Markdown language I get code folding for nested lists. What I’d really like is to be able to fold headings as well. Where is that defined and how can I add new code folding behavior?
It’s defined in the language package, which for GitHub Markdown is the language-gfm package. As far as folding goes though … I haven’t dug into where/how that is defined. @benogle, do you have any suggestions?
I’d still like some pointers to where I might be able to figure out how to create/modify code folding syntax. Thoughts?