. tests/functions.sh title "inline code" rc=0 MARKDOWN_FLAGS= try 'format for code block html' \ ' this is code' \ '
this is
code
' try 'mismatched backticks' '```tick``' '

`tick

' try 'mismatched backticks(2)' '``tick```' '

``tick```

' try 'unclosed single backtick' '`hi there' '

`hi there

' try 'unclosed double backtick' '``hi there' '

``hi there

' try 'triple backticks' '```hi there```' '

hi there

' try 'quadruple backticks' '````hi there````' '

hi there

' try 'remove space around code' '`` hi there ``' '

hi there

' try 'code containing backticks' '`` a```b ``' '

a```b

' try 'backslash before backtick' '`a\`' '

a\

' try '`>`' '`>`' '

>

' try '`` ` ``' '`` ` ``' '

`

' try '````` ``` `' '````` ``` `' '

`` `

' try '````` ` ```' '````` ` ```' '

`` `

' try 'backslashes in code(1)' ' printf "%s: \n", $1;' \ '
printf "%s: \n", $1;
' try 'backslashes in code(2)' '`printf "%s: \n", $1;`' \ '

printf "%s: \n", $1;

' summary $0 exit $rc