backslash_escapes.unit 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. >>> Escaped punctuation is indeed escaped.
  2. Punctuations like \! and \" and \# and \$ and \% and \& and \' and \( and \)
  3. and \* and \+ and \, and \- and \. and \/ and \: and \; and \< and \= and \>
  4. and \? and \@ and \[ and \\ and \] and \^ and \_ and \` and \{ and \| and \}
  5. and \~.
  6. <<<
  7. <p>Punctuations like ! and &quot; and # and $ and % and &amp; and ' and ( and )
  8. and * and + and , and - and . and / and : and ; and &lt; and = and &gt;
  9. and ? and @ and [ and \ and ] and ^ and _ and ` and { and | and }
  10. and ~.</p>
  11. >>> Inline code blocks can be escaped.
  12. Not \`code`.
  13. <<<
  14. <p>Not `code`.</p>
  15. >>> Emphasis can be escaped.
  16. \*Both* \_kinds_.
  17. <<<
  18. <p>*Both* _kinds_.</p>
  19. >>> Links can be escaped.
  20. Escaped brackets: \[foo](bar), and parens: [foo]\(bar).
  21. <<<
  22. <p>Escaped brackets: [foo](bar), and parens: [foo](bar).</p>
  23. >>> Reference links can be escaped.
  24. Front: \[foo][bar] and back: [foo]\[bar].
  25. <<<
  26. <p>Front: [foo][bar] and back: [foo][bar].</p>
  27. >>> Images can be escaped.
  28. Escapes the bang: \![img](img.png),
  29. and escapes the image: !\[img](img.png).
  30. <<<
  31. <p>Escapes the bang: !<a href="img.png">img</a>,
  32. and escapes the image: ![img](img.png).</p>