From 2dbfcc0c510b46c9bfa288cb370b2d4f7fe7555d Mon Sep 17 00:00:00 2001 From: Artem Date: Tue, 24 Jun 2008 20:39:50 +0500 Subject: second commit --- tests2/tm-cases-new/auto_link.html | 5 ++ tests2/tm-cases-new/auto_link.txt | 3 + tests2/tm-cases-new/blockquote.html | 15 ++++ tests2/tm-cases-new/blockquote.txt | 5 ++ tests2/tm-cases-new/blockquote_with_pre.html | 9 +++ tests2/tm-cases-new/blockquote_with_pre.txt | 6 ++ tests2/tm-cases-new/code_block_with_tabs.html | 5 ++ tests2/tm-cases-new/code_block_with_tabs.tags | 1 + tests2/tm-cases-new/code_block_with_tabs.txt | 3 + tests2/tm-cases-new/codeblock.html | 7 ++ tests2/tm-cases-new/codeblock.txt | 7 ++ tests2/tm-cases-new/codespans.html | 3 + tests2/tm-cases-new/codespans.txt | 2 + tests2/tm-cases-new/codespans_safe_mode.html | 3 + tests2/tm-cases-new/codespans_safe_mode.opts | 1 + tests2/tm-cases-new/codespans_safe_mode.tags | 1 + tests2/tm-cases-new/codespans_safe_mode.txt | 2 + tests2/tm-cases-new/emphasis.html | 3 + tests2/tm-cases-new/emphasis.txt | 2 + tests2/tm-cases-new/escapes.html | 79 ++++++++++++++++++++++ tests2/tm-cases-new/escapes.tags | 1 + tests2/tm-cases-new/escapes.txt | 65 ++++++++++++++++++ tests2/tm-cases-new/header.html | 7 ++ tests2/tm-cases-new/header.txt | 9 +++ tests2/tm-cases-new/hr.html | 13 ++++ tests2/tm-cases-new/hr.txt | 12 ++++ tests2/tm-cases-new/img_in_link.html | 6 ++ tests2/tm-cases-new/img_in_link.txt | 7 ++ tests2/tm-cases-new/inline_links.html | 11 +++ tests2/tm-cases-new/inline_links.txt | 7 ++ .../tm-cases-new/link_defn_alt_title_delims.html | 4 ++ tests2/tm-cases-new/link_defn_alt_title_delims.txt | 7 ++ tests2/tm-cases-new/lists.html | 29 ++++++++ tests2/tm-cases-new/lists.txt | 11 +++ tests2/tm-cases-new/lists2.html | 35 ++++++++++ tests2/tm-cases-new/lists2.tags | 1 + tests2/tm-cases-new/lists2.txt | 14 ++++ tests2/tm-cases-new/missing_link_defn.html | 2 + tests2/tm-cases-new/missing_link_defn.txt | 7 ++ tests2/tm-cases-new/nested_list.html | 28 ++++++++ tests2/tm-cases-new/nested_list.txt | 9 +++ tests2/tm-cases-new/parens_in_url_4.html | 2 + tests2/tm-cases-new/parens_in_url_4.tags | 1 + tests2/tm-cases-new/parens_in_url_4.txt | 1 + tests2/tm-cases-new/raw_html.html | 6 ++ tests2/tm-cases-new/raw_html.txt | 6 ++ tests2/tm-cases-new/ref_links.html | 2 + tests2/tm-cases-new/ref_links.txt | 6 ++ tests2/tm-cases-new/sublist-para.html | 36 ++++++++++ tests2/tm-cases-new/sublist-para.tags | 1 + tests2/tm-cases-new/sublist-para.txt | 17 +++++ tests2/tm-cases-new/tricky_anchors.html | 17 +++++ tests2/tm-cases-new/tricky_anchors.txt | 11 +++ tests2/tm-cases-new/underline_in_autolink.html | 3 + tests2/tm-cases-new/underline_in_autolink.txt | 2 + 55 files changed, 558 insertions(+) create mode 100644 tests2/tm-cases-new/auto_link.html create mode 100644 tests2/tm-cases-new/auto_link.txt create mode 100644 tests2/tm-cases-new/blockquote.html create mode 100644 tests2/tm-cases-new/blockquote.txt create mode 100644 tests2/tm-cases-new/blockquote_with_pre.html create mode 100644 tests2/tm-cases-new/blockquote_with_pre.txt create mode 100644 tests2/tm-cases-new/code_block_with_tabs.html create mode 100644 tests2/tm-cases-new/code_block_with_tabs.tags create mode 100644 tests2/tm-cases-new/code_block_with_tabs.txt create mode 100644 tests2/tm-cases-new/codeblock.html create mode 100644 tests2/tm-cases-new/codeblock.txt create mode 100644 tests2/tm-cases-new/codespans.html create mode 100644 tests2/tm-cases-new/codespans.txt create mode 100644 tests2/tm-cases-new/codespans_safe_mode.html create mode 100644 tests2/tm-cases-new/codespans_safe_mode.opts create mode 100644 tests2/tm-cases-new/codespans_safe_mode.tags create mode 100644 tests2/tm-cases-new/codespans_safe_mode.txt create mode 100644 tests2/tm-cases-new/emphasis.html create mode 100644 tests2/tm-cases-new/emphasis.txt create mode 100644 tests2/tm-cases-new/escapes.html create mode 100644 tests2/tm-cases-new/escapes.tags create mode 100644 tests2/tm-cases-new/escapes.txt create mode 100644 tests2/tm-cases-new/header.html create mode 100644 tests2/tm-cases-new/header.txt create mode 100644 tests2/tm-cases-new/hr.html create mode 100644 tests2/tm-cases-new/hr.txt create mode 100644 tests2/tm-cases-new/img_in_link.html create mode 100644 tests2/tm-cases-new/img_in_link.txt create mode 100644 tests2/tm-cases-new/inline_links.html create mode 100644 tests2/tm-cases-new/inline_links.txt create mode 100644 tests2/tm-cases-new/link_defn_alt_title_delims.html create mode 100644 tests2/tm-cases-new/link_defn_alt_title_delims.txt create mode 100644 tests2/tm-cases-new/lists.html create mode 100644 tests2/tm-cases-new/lists.txt create mode 100644 tests2/tm-cases-new/lists2.html create mode 100644 tests2/tm-cases-new/lists2.tags create mode 100644 tests2/tm-cases-new/lists2.txt create mode 100644 tests2/tm-cases-new/missing_link_defn.html create mode 100644 tests2/tm-cases-new/missing_link_defn.txt create mode 100644 tests2/tm-cases-new/nested_list.html create mode 100644 tests2/tm-cases-new/nested_list.txt create mode 100644 tests2/tm-cases-new/parens_in_url_4.html create mode 100644 tests2/tm-cases-new/parens_in_url_4.tags create mode 100644 tests2/tm-cases-new/parens_in_url_4.txt create mode 100644 tests2/tm-cases-new/raw_html.html create mode 100644 tests2/tm-cases-new/raw_html.txt create mode 100644 tests2/tm-cases-new/ref_links.html create mode 100644 tests2/tm-cases-new/ref_links.txt create mode 100644 tests2/tm-cases-new/sublist-para.html create mode 100644 tests2/tm-cases-new/sublist-para.tags create mode 100644 tests2/tm-cases-new/sublist-para.txt create mode 100644 tests2/tm-cases-new/tricky_anchors.html create mode 100644 tests2/tm-cases-new/tricky_anchors.txt create mode 100644 tests2/tm-cases-new/underline_in_autolink.html create mode 100644 tests2/tm-cases-new/underline_in_autolink.txt (limited to 'tests2/tm-cases-new') diff --git a/tests2/tm-cases-new/auto_link.html b/tests2/tm-cases-new/auto_link.html new file mode 100644 index 0000000..8299181 --- /dev/null +++ b/tests2/tm-cases-new/auto_link.html @@ -0,0 +1,5 @@ +

I can has autolink? http://icanhascheeseburger.com +

+

Ask garfield: garfield@example.com +

+ diff --git a/tests2/tm-cases-new/auto_link.txt b/tests2/tm-cases-new/auto_link.txt new file mode 100644 index 0000000..e5354cd --- /dev/null +++ b/tests2/tm-cases-new/auto_link.txt @@ -0,0 +1,3 @@ +I can has autolink? + +Ask garfield: diff --git a/tests2/tm-cases-new/blockquote.html b/tests2/tm-cases-new/blockquote.html new file mode 100644 index 0000000..7a35052 --- /dev/null +++ b/tests2/tm-cases-new/blockquote.html @@ -0,0 +1,15 @@ +

[Trent wrote] +

+ +
+

no way +

+
+ +

[Jeff wrote] +

+ +
+

way +

+
diff --git a/tests2/tm-cases-new/blockquote.txt b/tests2/tm-cases-new/blockquote.txt new file mode 100644 index 0000000..3bcecaa --- /dev/null +++ b/tests2/tm-cases-new/blockquote.txt @@ -0,0 +1,5 @@ +[Trent wrote] +> no way + +[Jeff wrote] +> way diff --git a/tests2/tm-cases-new/blockquote_with_pre.html b/tests2/tm-cases-new/blockquote_with_pre.html new file mode 100644 index 0000000..431c06a --- /dev/null +++ b/tests2/tm-cases-new/blockquote_with_pre.html @@ -0,0 +1,9 @@ +
+

Markdown indents blockquotes a couple of spaces + necessitating some tweaks for pre-blocks in that + blockquote: +

+ +
here is a check
+for that
+
diff --git a/tests2/tm-cases-new/blockquote_with_pre.txt b/tests2/tm-cases-new/blockquote_with_pre.txt new file mode 100644 index 0000000..e61b82f --- /dev/null +++ b/tests2/tm-cases-new/blockquote_with_pre.txt @@ -0,0 +1,6 @@ +> Markdown indents blockquotes a couple of spaces +> necessitating some tweaks for pre-blocks in that +> blockquote: +> +> here is a check +> for that diff --git a/tests2/tm-cases-new/code_block_with_tabs.html b/tests2/tm-cases-new/code_block_with_tabs.html new file mode 100644 index 0000000..cc12d18 --- /dev/null +++ b/tests2/tm-cases-new/code_block_with_tabs.html @@ -0,0 +1,5 @@ +

Test with tabs for _Detab: +

+ +
Code    'block' with    some    "tabs"  and "quotes"
+
diff --git a/tests2/tm-cases-new/code_block_with_tabs.tags b/tests2/tm-cases-new/code_block_with_tabs.tags new file mode 100644 index 0000000..981bc5a --- /dev/null +++ b/tests2/tm-cases-new/code_block_with_tabs.tags @@ -0,0 +1 @@ +fromphpmarkdown # from PHP Markdown test "Parens in URL.text" diff --git a/tests2/tm-cases-new/code_block_with_tabs.txt b/tests2/tm-cases-new/code_block_with_tabs.txt new file mode 100644 index 0000000..bcf94c4 --- /dev/null +++ b/tests2/tm-cases-new/code_block_with_tabs.txt @@ -0,0 +1,3 @@ +Test with tabs for `_Detab`: + + Code 'block' with some "tabs" and "quotes" diff --git a/tests2/tm-cases-new/codeblock.html b/tests2/tm-cases-new/codeblock.html new file mode 100644 index 0000000..f9e04d0 --- /dev/null +++ b/tests2/tm-cases-new/codeblock.html @@ -0,0 +1,7 @@ +
some code
+

some 'splaining +

+ +
some more code
+2 > 1
+
diff --git a/tests2/tm-cases-new/codeblock.txt b/tests2/tm-cases-new/codeblock.txt new file mode 100644 index 0000000..d374216 --- /dev/null +++ b/tests2/tm-cases-new/codeblock.txt @@ -0,0 +1,7 @@ + some code + +some 'splaining + + some more code + 2 > 1 + diff --git a/tests2/tm-cases-new/codespans.html b/tests2/tm-cases-new/codespans.html new file mode 100644 index 0000000..b9994a1 --- /dev/null +++ b/tests2/tm-cases-new/codespans.html @@ -0,0 +1,3 @@ +

This is a code span. +And This is one with an `embedded backtick`. +

diff --git a/tests2/tm-cases-new/codespans.txt b/tests2/tm-cases-new/codespans.txt new file mode 100644 index 0000000..67015a9 --- /dev/null +++ b/tests2/tm-cases-new/codespans.txt @@ -0,0 +1,2 @@ +`This` is a code span. +And ``This is one with an `embedded backtick` ``. diff --git a/tests2/tm-cases-new/codespans_safe_mode.html b/tests2/tm-cases-new/codespans_safe_mode.html new file mode 100644 index 0000000..b9994a1 --- /dev/null +++ b/tests2/tm-cases-new/codespans_safe_mode.html @@ -0,0 +1,3 @@ +

This is a code span. +And This is one with an `embedded backtick`. +

diff --git a/tests2/tm-cases-new/codespans_safe_mode.opts b/tests2/tm-cases-new/codespans_safe_mode.opts new file mode 100644 index 0000000..ccb6a09 --- /dev/null +++ b/tests2/tm-cases-new/codespans_safe_mode.opts @@ -0,0 +1 @@ +{'safe_mode': True} diff --git a/tests2/tm-cases-new/codespans_safe_mode.tags b/tests2/tm-cases-new/codespans_safe_mode.tags new file mode 100644 index 0000000..dcc8b6c --- /dev/null +++ b/tests2/tm-cases-new/codespans_safe_mode.tags @@ -0,0 +1 @@ +issue9 safe_mode diff --git a/tests2/tm-cases-new/codespans_safe_mode.txt b/tests2/tm-cases-new/codespans_safe_mode.txt new file mode 100644 index 0000000..67015a9 --- /dev/null +++ b/tests2/tm-cases-new/codespans_safe_mode.txt @@ -0,0 +1,2 @@ +`This` is a code span. +And ``This is one with an `embedded backtick` ``. diff --git a/tests2/tm-cases-new/emphasis.html b/tests2/tm-cases-new/emphasis.html new file mode 100644 index 0000000..08ea3d9 --- /dev/null +++ b/tests2/tm-cases-new/emphasis.html @@ -0,0 +1,3 @@ +

This is italic and this is bold. +This is also italic and this is bold. +

diff --git a/tests2/tm-cases-new/emphasis.txt b/tests2/tm-cases-new/emphasis.txt new file mode 100644 index 0000000..99c324e --- /dev/null +++ b/tests2/tm-cases-new/emphasis.txt @@ -0,0 +1,2 @@ +This is *italic* and this is **bold**. +This is also _italic_ and this is __bold__. diff --git a/tests2/tm-cases-new/escapes.html b/tests2/tm-cases-new/escapes.html new file mode 100644 index 0000000..bcf6f3c --- /dev/null +++ b/tests2/tm-cases-new/escapes.html @@ -0,0 +1,79 @@ +

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. +

+ +

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. +

+ +

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 +
  • +
diff --git a/tests2/tm-cases-new/escapes.tags b/tests2/tm-cases-new/escapes.tags new file mode 100644 index 0000000..0184518 --- /dev/null +++ b/tests2/tm-cases-new/escapes.tags @@ -0,0 +1 @@ +issue15 diff --git a/tests2/tm-cases-new/escapes.txt b/tests2/tm-cases-new/escapes.txt new file mode 100644 index 0000000..dbfc2b5 --- /dev/null +++ b/tests2/tm-cases-new/escapes.txt @@ -0,0 +1,65 @@ +# 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 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` + + + diff --git a/tests2/tm-cases-new/header.html b/tests2/tm-cases-new/header.html new file mode 100644 index 0000000..90fc68a --- /dev/null +++ b/tests2/tm-cases-new/header.html @@ -0,0 +1,7 @@ +

an h1

+ +

an h2

+ +

another h1

+ +

another h2

diff --git a/tests2/tm-cases-new/header.txt b/tests2/tm-cases-new/header.txt new file mode 100644 index 0000000..b20ad13 --- /dev/null +++ b/tests2/tm-cases-new/header.txt @@ -0,0 +1,9 @@ +# an h1 + +## an h2 + +another h1 +========== + +another h2 +---------- diff --git a/tests2/tm-cases-new/hr.html b/tests2/tm-cases-new/hr.html new file mode 100644 index 0000000..83c3ac2 --- /dev/null +++ b/tests2/tm-cases-new/hr.html @@ -0,0 +1,13 @@ +

Dashes: +

+ +
+ +
+ +
+ +
+ +
---
+
diff --git a/tests2/tm-cases-new/hr.txt b/tests2/tm-cases-new/hr.txt new file mode 100644 index 0000000..765b735 --- /dev/null +++ b/tests2/tm-cases-new/hr.txt @@ -0,0 +1,12 @@ +Dashes: + +--- + + --- + + --- + + --- + + --- + diff --git a/tests2/tm-cases-new/img_in_link.html b/tests2/tm-cases-new/img_in_link.html new file mode 100644 index 0000000..b51d5d6 --- /dev/null +++ b/tests2/tm-cases-new/img_in_link.html @@ -0,0 +1,6 @@ +

This example from +http://orestis.gr/en/blog/2007/05/28/python-markdown-problems/: +

+ +

the google logo +

diff --git a/tests2/tm-cases-new/img_in_link.txt b/tests2/tm-cases-new/img_in_link.txt new file mode 100644 index 0000000..98f6075 --- /dev/null +++ b/tests2/tm-cases-new/img_in_link.txt @@ -0,0 +1,7 @@ +This example from +: + +[![the google logo][logo]][google] +[logo]: http://www.google.com/images/logo.gif +[google]: http://www.google.com/ "click to visit Google.com" + diff --git a/tests2/tm-cases-new/inline_links.html b/tests2/tm-cases-new/inline_links.html new file mode 100644 index 0000000..8c5a4fb --- /dev/null +++ b/tests2/tm-cases-new/inline_links.html @@ -0,0 +1,11 @@ +

an inline link +

+ +

a link "with" title +

+ +

an inline image link +

+ +

an image "with" title +

diff --git a/tests2/tm-cases-new/inline_links.txt b/tests2/tm-cases-new/inline_links.txt new file mode 100644 index 0000000..444a997 --- /dev/null +++ b/tests2/tm-cases-new/inline_links.txt @@ -0,0 +1,7 @@ +an inline [link](/url/) + +a [link "with" title](/url/ "title") + +an inline ![image link](/url/) + +an ![image "with" title](/url/ "title") diff --git a/tests2/tm-cases-new/link_defn_alt_title_delims.html b/tests2/tm-cases-new/link_defn_alt_title_delims.html new file mode 100644 index 0000000..0ff3742 --- /dev/null +++ b/tests2/tm-cases-new/link_defn_alt_title_delims.html @@ -0,0 +1,4 @@ +

Alternative delimiters for link definitions are allowed -- as of +Markdown 1.0.2, I think. Hence, this link and this link work +too. +

diff --git a/tests2/tm-cases-new/link_defn_alt_title_delims.txt b/tests2/tm-cases-new/link_defn_alt_title_delims.txt new file mode 100644 index 0000000..3d62b11 --- /dev/null +++ b/tests2/tm-cases-new/link_defn_alt_title_delims.txt @@ -0,0 +1,7 @@ +Alternative delimiters for [link definitions][link1] are allowed -- as of +Markdown 1.0.2, I think. Hence, [this link][link2] and [this link][link3] work +too. + +[link1]: http://daringfireball.net/projects/markdown/syntax#link "link syntax" +[link2]: http://daringfireball.net/projects/markdown/syntax#link 'link syntax' +[link3]: http://daringfireball.net/projects/markdown/syntax#link (link syntax) diff --git a/tests2/tm-cases-new/lists.html b/tests2/tm-cases-new/lists.html new file mode 100644 index 0000000..5d7ec15 --- /dev/null +++ b/tests2/tm-cases-new/lists.html @@ -0,0 +1,29 @@ +

count: +

+ +
    +
  • +one +
  • +
  • +two +
  • +
  • +three +
  • +
+ +

count in spanish: +

+ +
    +
  1. +uno +
  2. +
  3. +dos +
  4. +
  5. +tres +
  6. +
diff --git a/tests2/tm-cases-new/lists.txt b/tests2/tm-cases-new/lists.txt new file mode 100644 index 0000000..8d2b43c --- /dev/null +++ b/tests2/tm-cases-new/lists.txt @@ -0,0 +1,11 @@ +count: + +* one +* two +* three + +count in spanish: + +1. uno +2. dos +3. tres diff --git a/tests2/tm-cases-new/lists2.html b/tests2/tm-cases-new/lists2.html new file mode 100644 index 0000000..d0e20c8 --- /dev/null +++ b/tests2/tm-cases-new/lists2.html @@ -0,0 +1,35 @@ +

mixed bullets: +

+ +
    +
  • +a +
  • +
  • +b +
  • +
  • +c +
  • +
+ +

ul followed by ol: +

+ +
    +
  • +a +
  • +
  • +b +
  • +
+ +
    +
  1. +1 +
  2. +
  3. +2 +
  4. +
diff --git a/tests2/tm-cases-new/lists2.tags b/tests2/tm-cases-new/lists2.tags new file mode 100644 index 0000000..e6b969b --- /dev/null +++ b/tests2/tm-cases-new/lists2.tags @@ -0,0 +1 @@ +issue16 diff --git a/tests2/tm-cases-new/lists2.txt b/tests2/tm-cases-new/lists2.txt new file mode 100644 index 0000000..54123d1 --- /dev/null +++ b/tests2/tm-cases-new/lists2.txt @@ -0,0 +1,14 @@ +mixed bullets: + +* a +- b ++ c + + +ul followed by ol: + +- a +- b + +1. 1 +2. 2 diff --git a/tests2/tm-cases-new/missing_link_defn.html b/tests2/tm-cases-new/missing_link_defn.html new file mode 100644 index 0000000..bafd445 --- /dev/null +++ b/tests2/tm-cases-new/missing_link_defn.html @@ -0,0 +1,2 @@ +

This is a [missing link][missing] and a used link. +

diff --git a/tests2/tm-cases-new/missing_link_defn.txt b/tests2/tm-cases-new/missing_link_defn.txt new file mode 100644 index 0000000..817677f --- /dev/null +++ b/tests2/tm-cases-new/missing_link_defn.txt @@ -0,0 +1,7 @@ + +This is a [missing link][missing] and a [used link][used]. + + +[used]: http://foo.com +[unused]: http://foo.com + diff --git a/tests2/tm-cases-new/nested_list.html b/tests2/tm-cases-new/nested_list.html new file mode 100644 index 0000000..d370acd --- /dev/null +++ b/tests2/tm-cases-new/nested_list.html @@ -0,0 +1,28 @@ +

shopping list: +

+ +
    +
  • +veggies
      +
    • +carrots +
    • +
    • +lettuce +
    • +
    +
  • +
  • +fruits
      +
    • +oranges +
    • +
    • +apples +
    • +
    • +peaches +
    • +
    +
  • +
diff --git a/tests2/tm-cases-new/nested_list.txt b/tests2/tm-cases-new/nested_list.txt new file mode 100644 index 0000000..a37a195 --- /dev/null +++ b/tests2/tm-cases-new/nested_list.txt @@ -0,0 +1,9 @@ +shopping list: + +- veggies + + carrots + + lettuce +- fruits + + oranges + + apples + + *peaches* diff --git a/tests2/tm-cases-new/parens_in_url_4.html b/tests2/tm-cases-new/parens_in_url_4.html new file mode 100644 index 0000000..edccf0d --- /dev/null +++ b/tests2/tm-cases-new/parens_in_url_4.html @@ -0,0 +1,2 @@ +

Inline link 4 with non-escaped parens. +

diff --git a/tests2/tm-cases-new/parens_in_url_4.tags b/tests2/tm-cases-new/parens_in_url_4.tags new file mode 100644 index 0000000..981bc5a --- /dev/null +++ b/tests2/tm-cases-new/parens_in_url_4.tags @@ -0,0 +1 @@ +fromphpmarkdown # from PHP Markdown test "Parens in URL.text" diff --git a/tests2/tm-cases-new/parens_in_url_4.txt b/tests2/tm-cases-new/parens_in_url_4.txt new file mode 100644 index 0000000..5dfb9ab --- /dev/null +++ b/tests2/tm-cases-new/parens_in_url_4.txt @@ -0,0 +1 @@ +[Inline link 4 with non-escaped parens]( "title"). diff --git a/tests2/tm-cases-new/raw_html.html b/tests2/tm-cases-new/raw_html.html new file mode 100644 index 0000000..2ae6fe9 --- /dev/null +++ b/tests2/tm-cases-new/raw_html.html @@ -0,0 +1,6 @@ +

Hi, there. blah +

+ +
+ **ack** +
diff --git a/tests2/tm-cases-new/raw_html.txt b/tests2/tm-cases-new/raw_html.txt new file mode 100644 index 0000000..13cde37 --- /dev/null +++ b/tests2/tm-cases-new/raw_html.txt @@ -0,0 +1,6 @@ + +Hi, *there*. blah + +
+ **ack** +
diff --git a/tests2/tm-cases-new/ref_links.html b/tests2/tm-cases-new/ref_links.html new file mode 100644 index 0000000..7fb1582 --- /dev/null +++ b/tests2/tm-cases-new/ref_links.html @@ -0,0 +1,2 @@ +

Google is fast star. +

diff --git a/tests2/tm-cases-new/ref_links.txt b/tests2/tm-cases-new/ref_links.txt new file mode 100644 index 0000000..4df8c01 --- /dev/null +++ b/tests2/tm-cases-new/ref_links.txt @@ -0,0 +1,6 @@ +[Google][] is fast ![star][]. + +[google]: http://www.google.com/ +[star]: /img/star.png + + diff --git a/tests2/tm-cases-new/sublist-para.html b/tests2/tm-cases-new/sublist-para.html new file mode 100644 index 0000000..f1d47bf --- /dev/null +++ b/tests2/tm-cases-new/sublist-para.html @@ -0,0 +1,36 @@ +

Some quick thoughts from a coder's perspective: +

+ +
    +
  • The source will be available in a Mercurial ... +

    +
  • +
  • Komodo is a Mozilla-based application... +

    + +
      +
    • +Get a slightly tweaked mozilla build (C++, JavaScript, XUL). +
    • +
    • +Get a slightly tweaks Python build (C). +
    • +
    • +Add a bunch of core logic (Python)... +
    • +
    • +Add Komodo chrome (XUL, JavaScript, CSS, DTDs). +
    • +
    + +

    What this means is that work on and add significant functionality... +

    +
  • +
  • Komodo uses the same extension mechanisms as Firefox... +

    +
  • +
  • Komodo builds and runs on Windows, Linux and ... +

    +
  • +
+

diff --git a/tests2/tm-cases-new/sublist-para.tags b/tests2/tm-cases-new/sublist-para.tags new file mode 100644 index 0000000..81b35c7 --- /dev/null +++ b/tests2/tm-cases-new/sublist-para.tags @@ -0,0 +1 @@ +questionable #

isn't really correct, but Markdown.pl does the same diff --git a/tests2/tm-cases-new/sublist-para.txt b/tests2/tm-cases-new/sublist-para.txt new file mode 100644 index 0000000..7bf07ba --- /dev/null +++ b/tests2/tm-cases-new/sublist-para.txt @@ -0,0 +1,17 @@ +Some quick thoughts from a coder's perspective: + +- The source will be available in a Mercurial ... + +- Komodo is a Mozilla-based application... + + - Get a slightly tweaked mozilla build (C++, JavaScript, XUL). + - Get a slightly tweaks Python build (C). + - Add a bunch of core logic (Python)... + - Add Komodo chrome (XUL, JavaScript, CSS, DTDs). + + What this means is that work on and add significant functionality... + +- Komodo uses the same extension mechanisms as Firefox... + +- Komodo builds and runs on Windows, Linux and ... + diff --git a/tests2/tm-cases-new/tricky_anchors.html b/tests2/tm-cases-new/tricky_anchors.html new file mode 100644 index 0000000..af40218 --- /dev/null +++ b/tests2/tm-cases-new/tricky_anchors.html @@ -0,0 +1,17 @@ +

with [brackets][] in text +

+ +

with [[brackets][]] in text +

+ +

full link [like](/this/) in text +

+ +

full link to img like is ok +

+ +

[only open bracket(/in/) text +

+ +

only close bracket text](/url/) +

diff --git a/tests2/tm-cases-new/tricky_anchors.txt b/tests2/tm-cases-new/tricky_anchors.txt new file mode 100644 index 0000000..217f685 --- /dev/null +++ b/tests2/tm-cases-new/tricky_anchors.txt @@ -0,0 +1,11 @@ +[with [brackets][] in text](/url/) + +[with [[brackets][]] in text](/url/ "a title") + +[full link [like](/this/) in text](/url/) + +[full link to img ![like](/this/) is ok](/url/) + +[only open [bracket(/in/) text](/url/ 'a title') + +[only close bracket](/in/) text](/url/) diff --git a/tests2/tm-cases-new/underline_in_autolink.html b/tests2/tm-cases-new/underline_in_autolink.html new file mode 100644 index 0000000..f5f21eb --- /dev/null +++ b/tests2/tm-cases-new/underline_in_autolink.html @@ -0,0 +1,3 @@ +

Eric wrote up a (long) intro to writing UDL definitions a while back on +his blog: http://blogs.activestate.com/ericp/2007/01/kid_adding_a_ne.html +

diff --git a/tests2/tm-cases-new/underline_in_autolink.txt b/tests2/tm-cases-new/underline_in_autolink.txt new file mode 100644 index 0000000..58ae3e0 --- /dev/null +++ b/tests2/tm-cases-new/underline_in_autolink.txt @@ -0,0 +1,2 @@ +Eric wrote up a (long) intro to writing UDL definitions a while back on +his blog: -- cgit v1.2.3