lektor / lektor-website

The main lektor website.
https://www.getlektor.com/
Other
160 stars 134 forks source link

ref links aren't styled consistently #272

Open nixjdm opened 5 years ago

nixjdm commented 5 years ago

Notably, there are many links on the plugins pages that have class="ref", where the intended style font-style: italic; is not being applied. I believe that only works right now on docs pages. A number of links don't stand out well because of this.

nixjdm commented 5 years ago

E.g. Compare the links on these pages

3kori commented 1 year ago

Please assign me this issue. Thank you.

dairiki commented 1 year ago

@3kori Thank you for your offer to help! Please note that PRs are always entertained, whether or not you've been "assigned" an issue.

dairiki commented 1 year ago

If anyone is going to put significant effort and thought into this:

It seems that our markdown-link-classes code should be able to automatically distinguish between internal and external links (based on the absence or presence of a netloc in the link URL, respectively) and automatically apply the correct class(es) to the link.

(If, for some reason, that's not the case, we could use some sort of (meta) documentation (for lektor-website authors) regarding when to use what link classes.)