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

Style of manual symbol links does not match auto-linked ones #818

Closed
reitzig opened this issue May 16, 2017 · 0 comments · Fixed by #1206
Closed

Style of manual symbol links does not match auto-linked ones #818

reitzig opened this issue May 16, 2017 · 0 comments · Fixed by #1206

Comments

@reitzig
Copy link

reitzig commented May 16, 2017

Since auto-linking does not work everywhere, we have to manually create links to symbols. It would be great if they'd look the same.

I use Markdown like

[`MyClass`](classes/MyClass.swift)

which generates <a> with a nested <code> -- just the other way around form the code auto-linking generates! This causes the text to be <code>-gray instead of <a>-blue.

Arguably, auto-linking should create Markdown-compatible HTML (you can't do `[MyClass](...)`) so the same CSS works for both types of links.

Workaround: Add CSS like this:

a code {
    color: #0088cc;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants