Bug in commonmark.js dingus

escaping for inline code tick mark does not work:

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