refine markdown symbols - #138
Conversation
- heading: macro - list item: enum - TODO: list item and heading has hierarchy
|
Looks much better this way. Included in symbols-tree-nav. |
|
Thank for noticing this PR. If I had time I'd like to study how to parse list item and include them inside heading symbol @nicolashainaux What are the features you like to add up for markdown? |
Well, no precise ideas, so far. But including list item for inclusion inside heading symbols sounds really interesting. Only problem, I am pretty sure such a parsing feature relies only on the external parser. Nevertheless, as the Linux binary parser provided with symbols-tree-view, I added an option in symbols-tree-nav to change the parser that is used. If you would like to try another parser, you can use this option for development. I could also add another option or tweak the existing one in order to let the user define different parsers, depending on the file's scope (python/C/coffee-script/markdown etc.). If such an option would help you, I'd certainly add it. |
|
Of course, if reworking the regex in the ctags file is enough, it would be good. Something else: it could be nice too to add icons dedicated to markdown tags. Anyway, don't hesitate to create a PR in symbols-tree-nav. |
Thanks for pointing out s.t.nav supports custom syntax parser. I will have a try.
Now I don't understand s.t.view architecture and I need more investigation to create PR. IMO we can move to symbol-tree-nav for more discussion (maybe in a new issue page). |
|
@liuderchi just created a new issue in symbols-tree-nav here, to continue the discussion. |
heading: using symbol of macro
list item: using symbol of enum
demo
