Bug in commonmark.js dingus

escaping for inline code tick mark does not work:
http://spec.commonmark.org/dingus/?text=some%20line%3A%20%20`code%20\`escaped\`%20code`

From the spec

Note that backslash escapes do not work in code spans. All backslashes are treated literally:

This is by design, and not a bug.

To include backticks in a code span you need to surround the code span with 1 more backtick than needed in the span:

some line:  ``code `escaped` code``
            ^^                   ^^
1 Like