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

Link to source file #267

Open
Anthony-Gaudino opened this issue Nov 30, 2021 · 1 comment
Open

Link to source file #267

Anthony-Gaudino opened this issue Nov 30, 2021 · 1 comment

Comments

@Anthony-Gaudino
Copy link

Is it possible to add a link in the generated Markdown pointing to the source file?

My idea is to make it easy for who is looking at the documentation to open the source and see the code.

It would be even better if we could have a link for each function, class, etc. and when the user clicks on this link he will be directed to that specific class, function...

We use GitLab and it's easy to have a link to a file and line, for example: https://domain/repository/-/blob/master/source/code.js#L19 would be line 19 of code.js.

@75lb
Copy link
Member

75lb commented Dec 1, 2021

You'd need to customise the output - did you check the wiki?

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

No branches or pull requests

2 participants