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

Separate theme coloring for link text and url #23

Open
efc opened this issue Dec 17, 2018 · 0 comments
Open

Separate theme coloring for link text and url #23

efc opened this issue Dec 17, 2018 · 0 comments

Comments

@efc
Copy link

efc commented Dec 17, 2018

It seems that there is no way to separately style the text and url of markdown links with PEG Markdown Highlight. I'd love to give the link itself a separate color from the text, in other words have [blue](light-blue) kind of styling. But it seems we only have LINK available in the theme.

Could a LINK_URL element type be added to color the url separately? If the LINK_URL color is missing, just use the LINK color, but if it is present in the theme, then use it for the url portion of the link.

This would make it much easier to read documents with lots of links. What most people really need to do is read either the primary text (proofreading for meaning) or the urls (proofreading for function), but those are two very different tasks. It would be very helpful to use color to distinguish those portions of the document.

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