You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For markup languages like Markdown, syntaxes like ***bold italic*** create a bold italic styled text. Unfortunately I didn't find a way to achieve this since we only have Generic.Emph and Generic.Strong token type. Given that such syntaxes exist in many markup languages, should we add a token type like Generic.EmphStrong?
The text was updated successfully, but these errors were encountered:
diskdance
changed the title
Add a Generic.EmphStrong
Add a token type like Generic.EmphStrong to allow bold italic styling
Dec 25, 2022
I think this makes sense, but I'm wondering about the potential fallout. Technically all you need to do is to have a new standard type in token.py, and add it to default.py in styles, but I'm afraid this may require touching up all lexers which have definitions for Generic.Strong and Generic.Emph -- I didn't check how many of those are around though.
I think this makes sense, but I'm wondering about the potential fallout. Technically all you need to do is to have a new standard type in token.py, and add it to default.py in styles, but I'm afraid this may require touching up all lexers which have definitions for Generic.Strong and Generic.Emph -- I didn't check how many of those are around though.
Could those be future patches and not hold up the first patch? Looks like a good opportunity for incremental improvement.
For markup languages like Markdown, syntaxes like
***bold italic***
create a bold italic styled text. Unfortunately I didn't find a way to achieve this since we only haveGeneric.Emph
andGeneric.Strong
token type. Given that such syntaxes exist in many markup languages, should we add a token type likeGeneric.EmphStrong
?The text was updated successfully, but these errors were encountered: