diff --git a/README.md b/README.md index 179978d..1bb985d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ punctuation substitutions, etc.), and it is safe for all utf-8 HTML output is currently supported, along with Smartypants extensions. An experimental LaTeX output engine is also included. -It started as a translation from C of [upskirt][3]. +It started as a translation from C of [Sundown][3]. Installation @@ -97,7 +97,7 @@ dependencies and library versions. Features -------- -All features of upskirt are supported, including: +All features of Sundown are supported, including: * **Compatibility**. The Markdown v1.0.3 test suite passes with the `--tidy` option. Without `--tidy`, the differences are @@ -243,4 +243,4 @@ License [1]: http://daringfireball.net/projects/markdown/ "Markdown" [2]: http://golang.org/ "Go Language" - [3]: http://github.com/tanoku/upskirt "Upskirt" + [3]: https://github.com/vmg/sundown "Sundown" diff --git a/upskirtref_test.go b/ref_test.go similarity index 96% rename from upskirtref_test.go rename to ref_test.go index 42a0bdd..770439c 100644 --- a/upskirtref_test.go +++ b/ref_test.go @@ -34,7 +34,7 @@ func doTestsReference(t *testing.T, files []string, flag int) { }() for _, basename := range files { - filename := filepath.Join("upskirtref", basename+".text") + filename := filepath.Join("testdata", basename+".text") inputBytes, err := ioutil.ReadFile(filename) if err != nil { t.Errorf("Couldn't open '%s', error: %v\n", filename, err) @@ -42,7 +42,7 @@ func doTestsReference(t *testing.T, files []string, flag int) { } input := string(inputBytes) - filename = filepath.Join("upskirtref", basename+".html") + filename = filepath.Join("testdata", basename+".html") expectedBytes, err := ioutil.ReadFile(filename) if err != nil { t.Errorf("Couldn't open '%s', error: %v\n", filename, err) diff --git a/upskirtref/Amps and angle encoding.html b/testdata/Amps and angle encoding.html similarity index 100% rename from upskirtref/Amps and angle encoding.html rename to testdata/Amps and angle encoding.html diff --git a/upskirtref/Amps and angle encoding.text b/testdata/Amps and angle encoding.text similarity index 100% rename from upskirtref/Amps and angle encoding.text rename to testdata/Amps and angle encoding.text diff --git a/upskirtref/Auto links.html b/testdata/Auto links.html similarity index 100% rename from upskirtref/Auto links.html rename to testdata/Auto links.html diff --git a/upskirtref/Auto links.text b/testdata/Auto links.text similarity index 100% rename from upskirtref/Auto links.text rename to testdata/Auto links.text diff --git a/upskirtref/Backslash escapes.html b/testdata/Backslash escapes.html similarity index 100% rename from upskirtref/Backslash escapes.html rename to testdata/Backslash escapes.html diff --git a/upskirtref/Backslash escapes.text b/testdata/Backslash escapes.text similarity index 100% rename from upskirtref/Backslash escapes.text rename to testdata/Backslash escapes.text diff --git a/upskirtref/Blockquotes with code blocks.html b/testdata/Blockquotes with code blocks.html similarity index 100% rename from upskirtref/Blockquotes with code blocks.html rename to testdata/Blockquotes with code blocks.html diff --git a/upskirtref/Blockquotes with code blocks.text b/testdata/Blockquotes with code blocks.text similarity index 100% rename from upskirtref/Blockquotes with code blocks.text rename to testdata/Blockquotes with code blocks.text diff --git a/upskirtref/Code Blocks.html b/testdata/Code Blocks.html similarity index 100% rename from upskirtref/Code Blocks.html rename to testdata/Code Blocks.html diff --git a/upskirtref/Code Blocks.text b/testdata/Code Blocks.text similarity index 100% rename from upskirtref/Code Blocks.text rename to testdata/Code Blocks.text diff --git a/upskirtref/Code Spans.html b/testdata/Code Spans.html similarity index 100% rename from upskirtref/Code Spans.html rename to testdata/Code Spans.html diff --git a/upskirtref/Code Spans.text b/testdata/Code Spans.text similarity index 100% rename from upskirtref/Code Spans.text rename to testdata/Code Spans.text diff --git a/upskirtref/Hard-wrapped paragraphs with list-like lines no empty line before block.html b/testdata/Hard-wrapped paragraphs with list-like lines no empty line before block.html similarity index 100% rename from upskirtref/Hard-wrapped paragraphs with list-like lines no empty line before block.html rename to testdata/Hard-wrapped paragraphs with list-like lines no empty line before block.html diff --git a/upskirtref/Hard-wrapped paragraphs with list-like lines no empty line before block.text b/testdata/Hard-wrapped paragraphs with list-like lines no empty line before block.text similarity index 100% rename from upskirtref/Hard-wrapped paragraphs with list-like lines no empty line before block.text rename to testdata/Hard-wrapped paragraphs with list-like lines no empty line before block.text diff --git a/upskirtref/Hard-wrapped paragraphs with list-like lines.html b/testdata/Hard-wrapped paragraphs with list-like lines.html similarity index 100% rename from upskirtref/Hard-wrapped paragraphs with list-like lines.html rename to testdata/Hard-wrapped paragraphs with list-like lines.html diff --git a/upskirtref/Hard-wrapped paragraphs with list-like lines.text b/testdata/Hard-wrapped paragraphs with list-like lines.text similarity index 100% rename from upskirtref/Hard-wrapped paragraphs with list-like lines.text rename to testdata/Hard-wrapped paragraphs with list-like lines.text diff --git a/upskirtref/Horizontal rules.html b/testdata/Horizontal rules.html similarity index 100% rename from upskirtref/Horizontal rules.html rename to testdata/Horizontal rules.html diff --git a/upskirtref/Horizontal rules.text b/testdata/Horizontal rules.text similarity index 100% rename from upskirtref/Horizontal rules.text rename to testdata/Horizontal rules.text diff --git a/upskirtref/Inline HTML (Advanced).html b/testdata/Inline HTML (Advanced).html similarity index 100% rename from upskirtref/Inline HTML (Advanced).html rename to testdata/Inline HTML (Advanced).html diff --git a/upskirtref/Inline HTML (Advanced).text b/testdata/Inline HTML (Advanced).text similarity index 100% rename from upskirtref/Inline HTML (Advanced).text rename to testdata/Inline HTML (Advanced).text diff --git a/upskirtref/Inline HTML (Simple).html b/testdata/Inline HTML (Simple).html similarity index 100% rename from upskirtref/Inline HTML (Simple).html rename to testdata/Inline HTML (Simple).html diff --git a/upskirtref/Inline HTML (Simple).text b/testdata/Inline HTML (Simple).text similarity index 100% rename from upskirtref/Inline HTML (Simple).text rename to testdata/Inline HTML (Simple).text diff --git a/upskirtref/Inline HTML comments.html b/testdata/Inline HTML comments.html similarity index 100% rename from upskirtref/Inline HTML comments.html rename to testdata/Inline HTML comments.html diff --git a/upskirtref/Inline HTML comments.text b/testdata/Inline HTML comments.text similarity index 100% rename from upskirtref/Inline HTML comments.text rename to testdata/Inline HTML comments.text diff --git a/upskirtref/Links, inline style.html b/testdata/Links, inline style.html similarity index 100% rename from upskirtref/Links, inline style.html rename to testdata/Links, inline style.html diff --git a/upskirtref/Links, inline style.text b/testdata/Links, inline style.text similarity index 100% rename from upskirtref/Links, inline style.text rename to testdata/Links, inline style.text diff --git a/upskirtref/Links, reference style.html b/testdata/Links, reference style.html similarity index 100% rename from upskirtref/Links, reference style.html rename to testdata/Links, reference style.html diff --git a/upskirtref/Links, reference style.text b/testdata/Links, reference style.text similarity index 100% rename from upskirtref/Links, reference style.text rename to testdata/Links, reference style.text diff --git a/upskirtref/Links, shortcut references.html b/testdata/Links, shortcut references.html similarity index 100% rename from upskirtref/Links, shortcut references.html rename to testdata/Links, shortcut references.html diff --git a/upskirtref/Links, shortcut references.text b/testdata/Links, shortcut references.text similarity index 100% rename from upskirtref/Links, shortcut references.text rename to testdata/Links, shortcut references.text diff --git a/upskirtref/Literal quotes in titles.html b/testdata/Literal quotes in titles.html similarity index 100% rename from upskirtref/Literal quotes in titles.html rename to testdata/Literal quotes in titles.html diff --git a/upskirtref/Literal quotes in titles.text b/testdata/Literal quotes in titles.text similarity index 100% rename from upskirtref/Literal quotes in titles.text rename to testdata/Literal quotes in titles.text diff --git a/upskirtref/Markdown Documentation - Basics.html b/testdata/Markdown Documentation - Basics.html similarity index 100% rename from upskirtref/Markdown Documentation - Basics.html rename to testdata/Markdown Documentation - Basics.html diff --git a/upskirtref/Markdown Documentation - Basics.text b/testdata/Markdown Documentation - Basics.text similarity index 100% rename from upskirtref/Markdown Documentation - Basics.text rename to testdata/Markdown Documentation - Basics.text diff --git a/upskirtref/Markdown Documentation - Syntax.html b/testdata/Markdown Documentation - Syntax.html similarity index 100% rename from upskirtref/Markdown Documentation - Syntax.html rename to testdata/Markdown Documentation - Syntax.html diff --git a/upskirtref/Markdown Documentation - Syntax.text b/testdata/Markdown Documentation - Syntax.text similarity index 100% rename from upskirtref/Markdown Documentation - Syntax.text rename to testdata/Markdown Documentation - Syntax.text diff --git a/upskirtref/Nested blockquotes.html b/testdata/Nested blockquotes.html similarity index 100% rename from upskirtref/Nested blockquotes.html rename to testdata/Nested blockquotes.html diff --git a/upskirtref/Nested blockquotes.text b/testdata/Nested blockquotes.text similarity index 100% rename from upskirtref/Nested blockquotes.text rename to testdata/Nested blockquotes.text diff --git a/upskirtref/Ordered and unordered lists.html b/testdata/Ordered and unordered lists.html similarity index 100% rename from upskirtref/Ordered and unordered lists.html rename to testdata/Ordered and unordered lists.html diff --git a/upskirtref/Ordered and unordered lists.text b/testdata/Ordered and unordered lists.text similarity index 100% rename from upskirtref/Ordered and unordered lists.text rename to testdata/Ordered and unordered lists.text diff --git a/upskirtref/Strong and em together.html b/testdata/Strong and em together.html similarity index 100% rename from upskirtref/Strong and em together.html rename to testdata/Strong and em together.html diff --git a/upskirtref/Strong and em together.text b/testdata/Strong and em together.text similarity index 100% rename from upskirtref/Strong and em together.text rename to testdata/Strong and em together.text diff --git a/upskirtref/Tabs.html b/testdata/Tabs.html similarity index 100% rename from upskirtref/Tabs.html rename to testdata/Tabs.html diff --git a/upskirtref/Tabs.text b/testdata/Tabs.text similarity index 100% rename from upskirtref/Tabs.text rename to testdata/Tabs.text diff --git a/upskirtref/Tidyness.html b/testdata/Tidyness.html similarity index 100% rename from upskirtref/Tidyness.html rename to testdata/Tidyness.html diff --git a/upskirtref/Tidyness.text b/testdata/Tidyness.text similarity index 100% rename from upskirtref/Tidyness.text rename to testdata/Tidyness.text