I spent some time on creating a new markdown lexer from scratch, together with some (for me) useful snippets. Appending zip-file contains the result of my attempts.
See readme.html for details.
Feedback is welcome.
Markdown Lexer & Snippets
I aligned to standard markdown, where [whatever] is not a link.
action.md does not contain links in correct markdown syntax. This is text in square brackets.
are links in standard markdown. I added a rule for wiki links. Appending ZIP contains modification (not well tested).
action.md does not contain links in correct markdown syntax. This is text in square brackets.
Code: Select all
[Text](address "title") or [Text][Ref]
[Ref]: address "title"
- Attachments
-
- MARKDOWN.zip
- Lexer Update
- (31.71 KiB) Downloaded 165 times
Is it possible to see headings in the tree without their level indicators (# ## ### etc?)
Also, it were great if the tree could be made to show headings hierarchically, indented by levels, to quickly fold them by level number.
The preview in lexer customize shows folding for headings til the next heading comes around. But in my files this does not happen. What setting do I have to tweak to automatically fold all ## headings til the next ## subheading comes around?
Also, it were great if the tree could be made to show headings hierarchically, indented by levels, to quickly fold them by level number.
The preview in lexer customize shows folding for headings til the next heading comes around. But in my files this does not happen. What setting do I have to tweak to automatically fold all ## headings til the next ## subheading comes around?
Thank you. Nice job, folding makes it so much easier to quickly scan large texts.
The ultimate luxury, of course, if it were possible to nest it, level 3 headings inside level 2 headings inside level 2 headings. Not meaning to be greedy, just wondering .... Had tried to understand how nesting works in html, but couldn't really pull it off for markdown.
The ultimate luxury, of course, if it were possible to nest it, level 3 headings inside level 2 headings inside level 2 headings. Not meaning to be greedy, just wondering .... Had tried to understand how nesting works in html, but couldn't really pull it off for markdown.