This is now fixed on GitHub. So there is no need to escape square brackets anymore. To type [some text]
, you could just type:
// your markdown
[some text]
This is good for two reasons:
- square brackets are no longer parsed separately from figure and hyper-links.
- This means that we could use
\]
and\[
for display latex math, which is the correct way to write LaTeX. ($$ is not a LaTeX command and should never be used.)
You can check this by editing the README.md of a GitHub project.