By adding backticks, all symbols and characters such as [ are displayed as is. They no longer have normal Scrapbox syntax properties and are syntax highlighted.
Example: alert('Hello [World]')
Typing$ or % at the beginning of the line also works to make code comments
$ git reset --hard HEAD^