How to use angle brackets in URL on Github Flavored Markdown?

后端 未结 3 1775
终归单人心
终归单人心 2021-01-15 11:46

I want to use angle brackets in URL on Github Flavor Markdown.

Markdown:

1. Fork it ( http://github.com//oooooaaaa/fork )
<         


        
3条回答
  •  太阳男子
    2021-01-15 11:57

    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
    

提交回复
热议问题