markdown-plus-plus icon indicating copy to clipboard operation
markdown-plus-plus copied to clipboard

Markdown titles with #, only at beginning of line (optionally with whitespace)?

Open e-motiv opened this issue 1 year ago • 0 comments

Is there a possibility in UDL, specifically for markdown, to only style lines that begin with the character # ?

My current problem is that I use the character # inside text and it styles the rest of the line as a title instead of normal text.

Would be an easy regexp, like ^\s# or similar, but I don't think you can use regexp as operator.

For the moment my workaround is setting only the biggest title with single # as "line comment" with "Force at beginning of line". Might want to include that in the built-in markdown udl here maybe too?

e-motiv avatar Mar 16 '23 21:03 e-motiv