Closed FireFragment closed 2 years ago
Can you please post some code examples and references who is using Markdown that way?
We currently have this:
I would like there was some way, to make theese #
s gray.
Most of editors I know (Abricotine, StackEdit, etc.) styles theese #
s differently then the headers themselves.
StackEdit:
P. S: Thanks for a quick response :-)
@Waqar144, your opinion?
Abricotine, StackEdit, etc
Haven't heard of them. The ones I use (all JetBrains IDEs, VS Code, kate, ...) don't use masked syntax for the #
s.
But that doesn't mean I oppose the idea per se...
Actually that even was a thing says:
@Waqar144, do you know why (and when) we stopped doing that?
It probably got lost during the rewrite of the highlighter. But I think it should be fairly easy to add it back. I did try to keep most of the masked syntaxes working, so there's likely code for it already, but probably not working for some reason
I'll use the "masked syntax" styling, but the size of the styling of the heading. Looks like this:
#
s in the Markdown headings will be now styled as "masked syntax", but
with the size of the headingThere now is a new release, could you please test it and report if it works for you?
Works perfectly, thank you! 👍🏻
Great, thank you for testing!
Expected behaviour
It would be nice, if there was an option in settings to consider
#
s preceeding atx-style headers as masked syntax and not as part of a header.It would allow to style
#
s differently, than the header itself.Actual behaviour
As far as I know, there isn't any option to consider
#
s preceeding atx-style headers as masked syntax.