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

Highlight links (and mark them usable too) #2

Closed
kizu opened this issue Jul 11, 2012 · 2 comments
Closed

Highlight links (and mark them usable too) #2

kizu opened this issue Jul 11, 2012 · 2 comments

Comments

@kizu
Copy link
Contributor

kizu commented Jul 11, 2012

There can be a lot of links in code — to stylesheets, scripts, images etc. — it would be nice to have them highlighted and be actual links, so you could jump to the associated resources.

However, there can be an issue with relative links — in most cases it wouldn't be obvious to the script what is the base for them. So as a starter, only the absolute links can be the actual links and then there can be an option to set the base url manually (in the pre/code attributes maybe?) and if so, then use it with concatenation with the relative links inside.

@LeaVerou
Copy link
Member

Good idea.

@LeaVerou
Copy link
Member

Done. :) Check this commit: 483831e

Golmote pushed a commit that referenced this issue Jun 19, 2015
RunDevelopment referenced this issue in RunDevelopment/prism Aug 6, 2020
skippi referenced this issue in skippi/prism Dec 15, 2022
Added all characters to highlight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants