Home | History | Annotate | Download | only in markdown-test
      1 These should all get escaped:
      2 
      3 Backslash: \\
      4 
      5 Backtick: \`
      6 
      7 Asterisk: \*
      8 
      9 Underscore: \_
     10 
     11 Left brace: \{
     12 
     13 Right brace: \}
     14 
     15 Left bracket: \[
     16 
     17 Right bracket: \]
     18 
     19 Left paren: \(
     20 
     21 Right paren: \)
     22 
     23 Greater-than: \>
     24 
     25 Hash: \#
     26 
     27 Period: \.
     28 
     29 Bang: \!
     30 
     31 Plus: \+
     32 
     33 Minus: \-
     34 
     35 
     36 
     37 These should not, because they occur within a code block:
     38 
     39 	Backslash: \\
     40 
     41 	Backtick: \`
     42 
     43 	Asterisk: \*
     44 
     45 	Underscore: \_
     46 
     47 	Left brace: \{
     48 
     49 	Right brace: \}
     50 
     51 	Left bracket: \[
     52 
     53 	Right bracket: \]
     54 
     55 	Left paren: \(
     56 
     57 	Right paren: \)
     58 
     59 	Greater-than: \>
     60 
     61 	Hash: \#
     62 
     63 	Period: \.
     64 
     65 	Bang: \!
     66 
     67 	Plus: \+
     68 
     69 	Minus: \-
     70 
     71 
     72 Nor should these, which occur in code spans:
     73 
     74 Backslash: `\\`
     75 
     76 Backtick: `` \` ``
     77 
     78 Asterisk: `\*`
     79 
     80 Underscore: `\_`
     81 
     82 Left brace: `\{`
     83 
     84 Right brace: `\}`
     85 
     86 Left bracket: `\[`
     87 
     88 Right bracket: `\]`
     89 
     90 Left paren: `\(`
     91 
     92 Right paren: `\)`
     93 
     94 Greater-than: `\>`
     95 
     96 Hash: `\#`
     97 
     98 Period: `\.`
     99 
    100 Bang: `\!`
    101 
    102 Plus: `\+`
    103 
    104 Minus: `\-`
    105