Skip to content

Fix the backquote escape problem#56

Open
RipplePiam wants to merge 1 commit intotypora:gh-pagesfrom
RipplePiam:gh-pages
Open

Fix the backquote escape problem#56
RipplePiam wants to merge 1 commit intotypora:gh-pagesfrom
RipplePiam:gh-pages

Conversation

@RipplePiam
Copy link

  • According to commonmark's instructions, backslash escapes do not work in code blocks, code spans, autolinks, or raw HTML.
  • Backslash escapes are never needed, because one can always choose a string of n backtick characters as delimiters, where the code does not contain any strings of exactly n backtick characters.
  • This allows you to include code that begins or ends with backtick characters, which must be separated by whitespace from the opening or closing backtick strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant