How to escape backslash bracket (\[) in Markdown?

前端 未结 5 1439
心在旅途
心在旅途 2021-01-03 17:14

How does one escape the \"backslash square brackets\" \\[ \\] sequence in Markdown for GitHub? The sequence produces a

...         


        
5条回答
  •  囚心锁ツ
    2021-01-03 17:54

    There doesn't appear to be a way to do it. A workaround is to use a Gist to store such files (in my case a Bash script).

    I will reassign to a better answer if someone comes up with a real solution.

    Update: Use backticks to escape the escape char. See the new accepted answer.

提交回复
热议问题