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

Support autolinking return and parameters types in the method signature #483

Closed
esad opened this issue Feb 14, 2016 · 2 comments
Closed
Assignees
Labels

Comments

@esad
Copy link
Collaborator

esad commented Feb 14, 2016

It would be nice if recognized top level declarations would be autolinked in the method signature. For example, in Realm docs, the following would be become hyperlinks:

screen shot 2016-02-14 at 14 01 19

@esad
Copy link
Collaborator Author

esad commented Feb 14, 2016

Perhaps we could just simply apply autolinking to all declarations?

Easy fix idea: as declarations are passed through the highlighter, we could reuse the highlighter tokenization and simply match-and-replace recognized top level declarations inside various <span>s emmited by the highlighter?

@pigeondotdev
Copy link
Contributor

Merged in with #588. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants