Warning, /education/cantor/thirdparty/discount-2.2.6-patched/tests/code.t is written in an unsupported language. File is not indexed.
0001 . tests/functions.sh 0002 0003 title "inline code" 0004 0005 rc=0 0006 MARKDOWN_FLAGS= 0007 0008 try 'format for code block html' \ 0009 ' this is 0010 code' \ 0011 '<pre><code>this is 0012 code 0013 </code></pre>' 0014 0015 try 'mismatched backticks' '```tick``' '<p><code>`tick</code></p>' 0016 try 'mismatched backticks(2)' '``tick```' '<p>``tick```</p>' 0017 try 'unclosed single backtick' '`hi there' '<p>`hi there</p>' 0018 try 'unclosed double backtick' '``hi there' '<p>``hi there</p>' 0019 try 'triple backticks' '```hi there```' '<p><code>hi there</code></p>' 0020 try 'quadruple backticks' '````hi there````' '<p><code>hi there</code></p>' 0021 try 'remove space around code' '`` hi there ``' '<p><code>hi there</code></p>' 0022 try 'code containing backticks' '`` a```b ``' '<p><code>a```b</code></p>' 0023 try 'backslash before backtick' '`a\`' '<p><code>a\</code></p>' 0024 try '`>`' '`>`' '<p><code>></code></p>' 0025 try '`` ` ``' '`` ` ``' '<p><code>`</code></p>' 0026 try '````` ``` `' '````` ``` `' '<p><code>``</code> `</p>' 0027 try '````` ` ```' '````` ` ```' '<p><code>`` `</code></p>' 0028 try 'backslashes in code(1)' ' printf "%s: \n", $1;' \ 0029 '<pre><code>printf "%s: \n", $1; 0030 </code></pre>' 0031 try 'backslashes in code(2)' '`printf "%s: \n", $1;`' \ 0032 '<p><code>printf "%s: \n", $1;</code></p>' 0033 0034 summary $0 0035 exit $rc