zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
24.47k stars 1.16k forks source link

Markdown: highlight after brace. Solves (#2290) #3088

Closed dustdfg closed 7 months ago

dustdfg commented 7 months ago

Currently highlihting of ** **, , ~~ ~~, ` ` syntax is allowed only first part of the markup is after space character or in the start of the string. It was done to preven highliting if the markup symbol (for example undercore in variable name) will occur inside the word. It means that (**text**) won't be highlighted even though it usually perceived as allowed by people