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

Bernard picture Bernard · Apr 16, 2013 · Viewed 57.2k times · Source

How does one escape the "backslash square brackets" \[ \] sequence in Markdown for GitHub? The sequence produces a <pre><code>...</code></pre> section.

This is only a problem with Markdown for GitHub. I can write it here without the problem:

\[something \]

This code in GitHub will however produce

\ something

Answer

frandroid picture frandroid · May 1, 2015

I have resorted to surrounding my bracketed string with backticks: `[[320,50],[300,250]]`

Which turns it into: [[320,50],[300,250]] So now my array doesn't turn into a link.