docfx
docfx copied to clipboard
Link to source code - like a "view source" link
I would like to make a link in my .md article files to specific code files on the github repository. I see the api "view source" links work just fine, but I'm not sure how to create my own "view this particular source file" link in an .md article.
I did see this in the docfx flavoured markdown page, but it's an "include" rather than just a link:
[!code-csharp[Main](Program.cs)]
It would also be useful if there were a way to specify the tag to link to (for those who have a different set of docs for each version).