Reputation: 547
In my repo's wiki, I have a header that is an actual function prototype:
### void SomeFunction(string param1, int param2)
Is it possible to assign a special name to this so I can link to it easier? Something like MultiMarkdown's labels. For example:
### [void SomeFunction(string param1, int param2) | SomeFunctionAnchor]
### void SomeFunction(string param1, int param2) [SomeFunctionAnchor]
[Click this.](#SomeFunctionAnchor)
If not, is there a way to do this in any of GitHub's other markdown methods (i.e., AsciiDoc, Creole, MediaWiki, Org-mode, Pod, RDoc, Textile, ReStructuredText)?
Upvotes: 0
Views: 74
Reputation:
like this.
### <a name="SomeFunctionAnchor">void SomeFunction(string param1, int param2)
[Click this.](#SomeFunctionAnchor)
Upvotes: 2