Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
e-motiv opened this issue Mar 16, 2023 · 0 comments

Comments

@e-motiv
Copy link

e-motiv commented Mar 16, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant