Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.38 KB

Backslash escapes.md

File metadata and controls

35 lines (22 loc) · 1.38 KB

{{($page.frontmatter.start = 308) ? null : null}}

Backslash escapes

Any ASCII punctuation character may be backslash-escaped:

Backslashes before other characters are treated as literal backslashes:

Escaped characters are treated as regular characters and do not have their usual Markdown meanings:

If a backslash is itself escaped, the following character is not:

A backslash at the end of the line is a hard line break:

Backslash escapes do not work in code blocks, code spans, autolinks, or raw HTML:

But they work in all other contexts, including URLs and link titles, link references, and info strings in fenced code blocks: