I want to use angle brackets in URL on Github Flavor Markdown.
Markdown:
1. Fork it ( http://github.com/<my-github-username>/oooooaaaa/fork )
Expect:
<li>Fork it ( <a href="http://github.com/">http://github.com/<my-github-username>/oooooaaaa/fork</a> )</li>
Actual:
<li>Fork it ( <a href="http://github.com/">http://github.com/</a><my-github-username>/oooooaaaa/fork )</my-github-username></li>
Since the angle brackets <
and >
cannot easily be used (or escaped or encoded) in GitHub Flavored Markdown, one workaround would be to used square brackets:
http://github.com/[my-github-username]/oooooaaaa/fork
That does give the expected result:
a href="http://github.com/">http://github.com/[my-github-username]/oooooaaaa/fork</a>
Even this example below works as expected.
http://github.com/(my-github-username)/oooooaaaa/fork
Using backslash inside a ()[]
construction seems to work. (Tested on GitHub now.) It does not work on SO though.. For example:
1. Fork it ( [http://github.com/\<my-github-username\>/oooooaaaa/fork](http://github.com/\<my-github-username\>/oooooaaaa/fork) )