diff options
author | Artem Yunusov <nedrlab@gmail.com> | 2008-08-01 02:58:48 +0500 |
---|---|---|
committer | Artem Yunusov <nedrlab@gmail.com> | 2008-08-01 02:58:48 +0500 |
commit | 13d25f86f61bbce247a12b845c3675b57274a13e (patch) | |
tree | cb8affc75b6715b87cda1f6a495a66a48ef4e79e /tests2/tm-cases-new/escapes.txt | |
parent | bd185087dc899b6157f821fdd29561caffcc4682 (diff) | |
download | markdown-13d25f86f61bbce247a12b845c3675b57274a13e.tar.gz markdown-13d25f86f61bbce247a12b845c3675b57274a13e.tar.bz2 markdown-13d25f86f61bbce247a12b845c3675b57274a13e.zip |
Some cleanups.
Diffstat (limited to 'tests2/tm-cases-new/escapes.txt')
-rw-r--r-- | tests2/tm-cases-new/escapes.txt | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/tests2/tm-cases-new/escapes.txt b/tests2/tm-cases-new/escapes.txt deleted file mode 100644 index dbfc2b5..0000000 --- a/tests2/tm-cases-new/escapes.txt +++ /dev/null @@ -1,65 +0,0 @@ -# Backslash-escapes: basics - -\*\*don't shout\*\* - -\*don't emphasize\* - -\_literal underscores\_ - -\_\_more literal underscores\_\_ - -## This header has trailing hash marks \#\# - - -# Backslash-escapes: links - -This is not a \[link](/url/). - -This is a link, not an image link: \![link](/url/). - -Should this be an <http://autolink\> or not? -I'll ask on markdown-discuss. -I suspect PHP markdown is considering this NOT an autolink. - -This is not a [link definition\][link1] but [this is][link1]. - -[link1]: /url/ - - -# Backslash-escapse: code blocks - -In a code block: - - escapes should \*not\* be \_interpreted\_ - even \`backticks\` - - -# Backslash-escapse: code spans - -Getting backticks and backslash-escapes working correctly with -code spans can be tricky: - -`a normal code span` - -``need multiple backticks to include a literal ` backtick`` - -`` `use a leading space to start a code span with a backtick`` - -``use a trailing space to end a code span with a backtick` `` - -``backslash-escapes \(are\) \*not\* \`interpreted\` in a code span`` - -\``a code span prefixed with a literal backtick` - -\`not a code span\` - - -*Note A*: The `` (?!`) `` after the `\1` group in the -`_DoCodeSpans()/_do_code_spans()` regex is necessary to ensure that a backtick -doesn't match at the start of the code block (group `\2`) in an example like -this: - -- ``foo` - - - |