From d38f82f6462af4e5aad6a2c776f5c00ce5b13c87 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Thu, 1 Feb 2024 22:59:38 +0100 Subject: feat: initial commit Here is a small overview of the state of the project at this first commit. I have basic Git Repo -> HTML working, and a plan for how setting up an actual server would work (mainly, NGINX + a git hook to rebuild). The main thing I'm working on right now is parsing WikiCreole, though I am starting to wonder if this is the right langauge. WikiCreole is pretty irregular and has a lot of edge cases (e.g. around emphasis). --- test/>h6.input.txt | 1 + test/>h6.output.txt | 1 + test/basic-paragraph-markup.input.txt | 1 + test/basic-paragraph-markup.output.txt | 1 + test/difficult-emphasis-#1.input.txt | 1 + test/difficult-emphasis-#1.output.txt | 1 + test/difficult-emphasis-#10.input.txt | 1 + test/difficult-emphasis-#10.output.txt | 1 + test/difficult-emphasis-#11.input.txt | 1 + test/difficult-emphasis-#11.output.txt | 1 + test/difficult-emphasis-#12.input.txt | 1 + test/difficult-emphasis-#12.output.txt | 1 + test/difficult-emphasis-#13.input.txt | 1 + test/difficult-emphasis-#13.output.txt | 1 + test/difficult-emphasis-#14.input.txt | 1 + test/difficult-emphasis-#14.output.txt | 1 + test/difficult-emphasis-#15.input.txt | 1 + test/difficult-emphasis-#15.output.txt | 1 + test/difficult-emphasis-#16.input.txt | 1 + test/difficult-emphasis-#16.output.txt | 1 + test/difficult-emphasis-#2.input.txt | 1 + test/difficult-emphasis-#2.output.txt | 1 + test/difficult-emphasis-#3.input.txt | 1 + test/difficult-emphasis-#3.output.txt | 1 + test/difficult-emphasis-#4.input.txt | 1 + test/difficult-emphasis-#4.output.txt | 1 + test/difficult-emphasis-#5.input.txt | 1 + test/difficult-emphasis-#5.output.txt | 1 + test/difficult-emphasis-#6.input.txt | 1 + test/difficult-emphasis-#6.output.txt | 1 + test/difficult-emphasis-#7.input.txt | 1 + test/difficult-emphasis-#7.output.txt | 1 + test/difficult-emphasis-#8.input.txt | 1 + test/difficult-emphasis-#8.output.txt | 1 + test/difficult-emphasis-#9.input.txt | 1 + test/difficult-emphasis-#9.output.txt | 1 + test/dummy-without-corresponding-output.input.txt | 0 test/emphasis.input.txt | 1 + test/emphasis.output.txt | 1 + test/h1.input.txt | 1 + test/h1.output.txt | 1 + test/h2.input.txt | 1 + test/h2.output.txt | 1 + test/h3.input.txt | 1 + test/h3.output.txt | 1 + test/h4.input.txt | 1 + test/h4.output.txt | 1 + test/h5.input.txt | 1 + test/h5.output.txt | 1 + test/h6.input.txt | 1 + test/h6.output.txt | 1 + test/horizontal-rule.input.txt | 3 +++ test/horizontal-rule.output.txt | 1 + test/image.input.txt | 1 + test/image.output.txt | 1 + test/inline-tt.input.txt | 1 + test/inline-tt.output.txt | 1 + test/multi-line-emphasis.input.txt | 6 ++++++ test/multi-line-emphasis.output.txt | 6 ++++++ test/named-link.input.txt | 1 + test/named-link.output.txt | 1 + test/named-url.input.txt | 1 + test/named-url.output.txt | 1 + test/ordered-item-with-ordered-sublist.input.txt | 2 ++ test/ordered-item-with-ordered-sublist.output.txt | 2 ++ test/ordered-sublist-without-initial-tag.input.txt | 1 + test/ordered-sublist-without-initial-tag.output.txt | 1 + test/preformatted-block.input.txt | 3 +++ test/preformatted-block.output.txt | 2 ++ test/raw-url.input.txt | 1 + test/raw-url.output.txt | 1 + test/simple-ordered-list.input.txt | 2 ++ test/simple-ordered-list.output.txt | 2 ++ test/simple-unordered-list.input.txt | 2 ++ test/simple-unordered-list.output.txt | 2 ++ test/strong.input.txt | 1 + test/strong.output.txt | 1 + test/tables.input.txt | 2 ++ test/tables.output.txt | 1 + test/two-preformatted-blocks.input.txt | 4 ++++ test/two-preformatted-blocks.output.txt | 2 ++ test/unnamed-link.input.txt | 1 + test/unnamed-link.output.txt | 1 + test/unnamed-url.input.txt | 1 + test/unnamed-url.output.txt | 1 + test/unordered-item-with-ordered-sublist.input.txt | 2 ++ test/unordered-item-with-ordered-sublist.output.txt | 2 ++ test/unordered-item-with-unordered-sublist.input.txt | 2 ++ test/unordered-item-with-unordered-sublist.output.txt | 2 ++ test/unordered-sublist-without-initial-tag.input.txt | 1 + test/unordered-sublist-without-initial-tag.output.txt | 1 + "test/url\342\210\225emphasis-ambiguity.input.txt" | 1 + "test/url\342\210\225emphasis-ambiguity.output.txt" | 1 + 93 files changed, 122 insertions(+) create mode 100644 test/>h6.input.txt create mode 100644 test/>h6.output.txt create mode 100644 test/basic-paragraph-markup.input.txt create mode 100644 test/basic-paragraph-markup.output.txt create mode 100644 test/difficult-emphasis-#1.input.txt create mode 100644 test/difficult-emphasis-#1.output.txt create mode 100644 test/difficult-emphasis-#10.input.txt create mode 100644 test/difficult-emphasis-#10.output.txt create mode 100644 test/difficult-emphasis-#11.input.txt create mode 100644 test/difficult-emphasis-#11.output.txt create mode 100644 test/difficult-emphasis-#12.input.txt create mode 100644 test/difficult-emphasis-#12.output.txt create mode 100644 test/difficult-emphasis-#13.input.txt create mode 100644 test/difficult-emphasis-#13.output.txt create mode 100644 test/difficult-emphasis-#14.input.txt create mode 100644 test/difficult-emphasis-#14.output.txt create mode 100644 test/difficult-emphasis-#15.input.txt create mode 100644 test/difficult-emphasis-#15.output.txt create mode 100644 test/difficult-emphasis-#16.input.txt create mode 100644 test/difficult-emphasis-#16.output.txt create mode 100644 test/difficult-emphasis-#2.input.txt create mode 100644 test/difficult-emphasis-#2.output.txt create mode 100644 test/difficult-emphasis-#3.input.txt create mode 100644 test/difficult-emphasis-#3.output.txt create mode 100644 test/difficult-emphasis-#4.input.txt create mode 100644 test/difficult-emphasis-#4.output.txt create mode 100644 test/difficult-emphasis-#5.input.txt create mode 100644 test/difficult-emphasis-#5.output.txt create mode 100644 test/difficult-emphasis-#6.input.txt create mode 100644 test/difficult-emphasis-#6.output.txt create mode 100644 test/difficult-emphasis-#7.input.txt create mode 100644 test/difficult-emphasis-#7.output.txt create mode 100644 test/difficult-emphasis-#8.input.txt create mode 100644 test/difficult-emphasis-#8.output.txt create mode 100644 test/difficult-emphasis-#9.input.txt create mode 100644 test/difficult-emphasis-#9.output.txt create mode 100644 test/dummy-without-corresponding-output.input.txt create mode 100644 test/emphasis.input.txt create mode 100644 test/emphasis.output.txt create mode 100644 test/h1.input.txt create mode 100644 test/h1.output.txt create mode 100644 test/h2.input.txt create mode 100644 test/h2.output.txt create mode 100644 test/h3.input.txt create mode 100644 test/h3.output.txt create mode 100644 test/h4.input.txt create mode 100644 test/h4.output.txt create mode 100644 test/h5.input.txt create mode 100644 test/h5.output.txt create mode 100644 test/h6.input.txt create mode 100644 test/h6.output.txt create mode 100644 test/horizontal-rule.input.txt create mode 100644 test/horizontal-rule.output.txt create mode 100644 test/image.input.txt create mode 100644 test/image.output.txt create mode 100644 test/inline-tt.input.txt create mode 100644 test/inline-tt.output.txt create mode 100644 test/multi-line-emphasis.input.txt create mode 100644 test/multi-line-emphasis.output.txt create mode 100644 test/named-link.input.txt create mode 100644 test/named-link.output.txt create mode 100644 test/named-url.input.txt create mode 100644 test/named-url.output.txt create mode 100644 test/ordered-item-with-ordered-sublist.input.txt create mode 100644 test/ordered-item-with-ordered-sublist.output.txt create mode 100644 test/ordered-sublist-without-initial-tag.input.txt create mode 100644 test/ordered-sublist-without-initial-tag.output.txt create mode 100644 test/preformatted-block.input.txt create mode 100644 test/preformatted-block.output.txt create mode 100644 test/raw-url.input.txt create mode 100644 test/raw-url.output.txt create mode 100644 test/simple-ordered-list.input.txt create mode 100644 test/simple-ordered-list.output.txt create mode 100644 test/simple-unordered-list.input.txt create mode 100644 test/simple-unordered-list.output.txt create mode 100644 test/strong.input.txt create mode 100644 test/strong.output.txt create mode 100644 test/tables.input.txt create mode 100644 test/tables.output.txt create mode 100644 test/two-preformatted-blocks.input.txt create mode 100644 test/two-preformatted-blocks.output.txt create mode 100644 test/unnamed-link.input.txt create mode 100644 test/unnamed-link.output.txt create mode 100644 test/unnamed-url.input.txt create mode 100644 test/unnamed-url.output.txt create mode 100644 test/unordered-item-with-ordered-sublist.input.txt create mode 100644 test/unordered-item-with-ordered-sublist.output.txt create mode 100644 test/unordered-item-with-unordered-sublist.input.txt create mode 100644 test/unordered-item-with-unordered-sublist.output.txt create mode 100644 test/unordered-sublist-without-initial-tag.input.txt create mode 100644 test/unordered-sublist-without-initial-tag.output.txt create mode 100644 "test/url\342\210\225emphasis-ambiguity.input.txt" create mode 100644 "test/url\342\210\225emphasis-ambiguity.output.txt" (limited to 'test') diff --git a/test/>h6.input.txt b/test/>h6.input.txt new file mode 100644 index 0000000..f422da3 --- /dev/null +++ b/test/>h6.input.txt @@ -0,0 +1 @@ +======= Header = \ No newline at end of file diff --git a/test/>h6.output.txt b/test/>h6.output.txt new file mode 100644 index 0000000..1ab8a75 --- /dev/null +++ b/test/>h6.output.txt @@ -0,0 +1 @@ +

======= Header =

\ No newline at end of file diff --git a/test/basic-paragraph-markup.input.txt b/test/basic-paragraph-markup.input.txt new file mode 100644 index 0000000..30d69f7 --- /dev/null +++ b/test/basic-paragraph-markup.input.txt @@ -0,0 +1 @@ +Basic paragraph test with <, >, & and " \ No newline at end of file diff --git a/test/basic-paragraph-markup.output.txt b/test/basic-paragraph-markup.output.txt new file mode 100644 index 0000000..24cc6d6 --- /dev/null +++ b/test/basic-paragraph-markup.output.txt @@ -0,0 +1 @@ +

Basic paragraph test with <, >, & and "

\ No newline at end of file diff --git a/test/difficult-emphasis-#1.input.txt b/test/difficult-emphasis-#1.input.txt new file mode 100644 index 0000000..f40a5e6 --- /dev/null +++ b/test/difficult-emphasis-#1.input.txt @@ -0,0 +1 @@ +// http://www.link.org // \ No newline at end of file diff --git a/test/difficult-emphasis-#1.output.txt b/test/difficult-emphasis-#1.output.txt new file mode 100644 index 0000000..4b94283 --- /dev/null +++ b/test/difficult-emphasis-#1.output.txt @@ -0,0 +1 @@ +

http://www.link.org

\ No newline at end of file diff --git a/test/difficult-emphasis-#10.input.txt b/test/difficult-emphasis-#10.input.txt new file mode 100644 index 0000000..e2fff46 --- /dev/null +++ b/test/difficult-emphasis-#10.input.txt @@ -0,0 +1 @@ +// ftp // \ No newline at end of file diff --git a/test/difficult-emphasis-#10.output.txt b/test/difficult-emphasis-#10.output.txt new file mode 100644 index 0000000..d4e6163 --- /dev/null +++ b/test/difficult-emphasis-#10.output.txt @@ -0,0 +1 @@ +

ftp

\ No newline at end of file diff --git a/test/difficult-emphasis-#11.input.txt b/test/difficult-emphasis-#11.input.txt new file mode 100644 index 0000000..c990a82 --- /dev/null +++ b/test/difficult-emphasis-#11.input.txt @@ -0,0 +1 @@ +// fttpfptftpft // \ No newline at end of file diff --git a/test/difficult-emphasis-#11.output.txt b/test/difficult-emphasis-#11.output.txt new file mode 100644 index 0000000..a633f70 --- /dev/null +++ b/test/difficult-emphasis-#11.output.txt @@ -0,0 +1 @@ +

fttpfptftpft

\ No newline at end of file diff --git a/test/difficult-emphasis-#12.input.txt b/test/difficult-emphasis-#12.input.txt new file mode 100644 index 0000000..eb6c6be --- /dev/null +++ b/test/difficult-emphasis-#12.input.txt @@ -0,0 +1 @@ +// ftp: // \ No newline at end of file diff --git a/test/difficult-emphasis-#12.output.txt b/test/difficult-emphasis-#12.output.txt new file mode 100644 index 0000000..bc36f4f --- /dev/null +++ b/test/difficult-emphasis-#12.output.txt @@ -0,0 +1 @@ +

ftp:

\ No newline at end of file diff --git a/test/difficult-emphasis-#13.input.txt b/test/difficult-emphasis-#13.input.txt new file mode 100644 index 0000000..a2613a2 --- /dev/null +++ b/test/difficult-emphasis-#13.input.txt @@ -0,0 +1 @@ +// ftp:// \ No newline at end of file diff --git a/test/difficult-emphasis-#13.output.txt b/test/difficult-emphasis-#13.output.txt new file mode 100644 index 0000000..d152870 --- /dev/null +++ b/test/difficult-emphasis-#13.output.txt @@ -0,0 +1 @@ +

// ftp://

\ No newline at end of file diff --git a/test/difficult-emphasis-#14.input.txt b/test/difficult-emphasis-#14.input.txt new file mode 100644 index 0000000..8fcc0a8 --- /dev/null +++ b/test/difficult-emphasis-#14.input.txt @@ -0,0 +1 @@ +// ftp://// \ No newline at end of file diff --git a/test/difficult-emphasis-#14.output.txt b/test/difficult-emphasis-#14.output.txt new file mode 100644 index 0000000..2e8d283 --- /dev/null +++ b/test/difficult-emphasis-#14.output.txt @@ -0,0 +1 @@ +

ftp://

\ No newline at end of file diff --git a/test/difficult-emphasis-#15.input.txt b/test/difficult-emphasis-#15.input.txt new file mode 100644 index 0000000..fac5c31 --- /dev/null +++ b/test/difficult-emphasis-#15.input.txt @@ -0,0 +1 @@ +//fttpfptftpftt// \ No newline at end of file diff --git a/test/difficult-emphasis-#15.output.txt b/test/difficult-emphasis-#15.output.txt new file mode 100644 index 0000000..f69d27c --- /dev/null +++ b/test/difficult-emphasis-#15.output.txt @@ -0,0 +1 @@ +

fttpfptftpftt

\ No newline at end of file diff --git a/test/difficult-emphasis-#16.input.txt b/test/difficult-emphasis-#16.input.txt new file mode 100644 index 0000000..69a62c9 --- /dev/null +++ b/test/difficult-emphasis-#16.input.txt @@ -0,0 +1 @@ +//ftp://link.org// \ No newline at end of file diff --git a/test/difficult-emphasis-#16.output.txt b/test/difficult-emphasis-#16.output.txt new file mode 100644 index 0000000..b639d39 --- /dev/null +++ b/test/difficult-emphasis-#16.output.txt @@ -0,0 +1 @@ +

ftp://link.org

\ No newline at end of file diff --git a/test/difficult-emphasis-#2.input.txt b/test/difficult-emphasis-#2.input.txt new file mode 100644 index 0000000..4164319 --- /dev/null +++ b/test/difficult-emphasis-#2.input.txt @@ -0,0 +1 @@ +// http // \ No newline at end of file diff --git a/test/difficult-emphasis-#2.output.txt b/test/difficult-emphasis-#2.output.txt new file mode 100644 index 0000000..775aeaf --- /dev/null +++ b/test/difficult-emphasis-#2.output.txt @@ -0,0 +1 @@ +

http

\ No newline at end of file diff --git a/test/difficult-emphasis-#3.input.txt b/test/difficult-emphasis-#3.input.txt new file mode 100644 index 0000000..63b3f61 --- /dev/null +++ b/test/difficult-emphasis-#3.input.txt @@ -0,0 +1 @@ +// httphpthtpht // \ No newline at end of file diff --git a/test/difficult-emphasis-#3.output.txt b/test/difficult-emphasis-#3.output.txt new file mode 100644 index 0000000..2475a98 --- /dev/null +++ b/test/difficult-emphasis-#3.output.txt @@ -0,0 +1 @@ +

httphpthtpht

\ No newline at end of file diff --git a/test/difficult-emphasis-#4.input.txt b/test/difficult-emphasis-#4.input.txt new file mode 100644 index 0000000..59df379 --- /dev/null +++ b/test/difficult-emphasis-#4.input.txt @@ -0,0 +1 @@ +// http: // \ No newline at end of file diff --git a/test/difficult-emphasis-#4.output.txt b/test/difficult-emphasis-#4.output.txt new file mode 100644 index 0000000..6ec00bc --- /dev/null +++ b/test/difficult-emphasis-#4.output.txt @@ -0,0 +1 @@ +

http:

\ No newline at end of file diff --git a/test/difficult-emphasis-#5.input.txt b/test/difficult-emphasis-#5.input.txt new file mode 100644 index 0000000..6b00e37 --- /dev/null +++ b/test/difficult-emphasis-#5.input.txt @@ -0,0 +1 @@ +// http:// \ No newline at end of file diff --git a/test/difficult-emphasis-#5.output.txt b/test/difficult-emphasis-#5.output.txt new file mode 100644 index 0000000..f0a2bf3 --- /dev/null +++ b/test/difficult-emphasis-#5.output.txt @@ -0,0 +1 @@ +

// http://

\ No newline at end of file diff --git a/test/difficult-emphasis-#6.input.txt b/test/difficult-emphasis-#6.input.txt new file mode 100644 index 0000000..482f676 --- /dev/null +++ b/test/difficult-emphasis-#6.input.txt @@ -0,0 +1 @@ +// http://// \ No newline at end of file diff --git a/test/difficult-emphasis-#6.output.txt b/test/difficult-emphasis-#6.output.txt new file mode 100644 index 0000000..5f4d7e4 --- /dev/null +++ b/test/difficult-emphasis-#6.output.txt @@ -0,0 +1 @@ +

http://

\ No newline at end of file diff --git a/test/difficult-emphasis-#7.input.txt b/test/difficult-emphasis-#7.input.txt new file mode 100644 index 0000000..75d6014 --- /dev/null +++ b/test/difficult-emphasis-#7.input.txt @@ -0,0 +1 @@ +//httphpthtphtt// \ No newline at end of file diff --git a/test/difficult-emphasis-#7.output.txt b/test/difficult-emphasis-#7.output.txt new file mode 100644 index 0000000..d22e67a --- /dev/null +++ b/test/difficult-emphasis-#7.output.txt @@ -0,0 +1 @@ +

httphpthtphtt

\ No newline at end of file diff --git a/test/difficult-emphasis-#8.input.txt b/test/difficult-emphasis-#8.input.txt new file mode 100644 index 0000000..b3db2a6 --- /dev/null +++ b/test/difficult-emphasis-#8.input.txt @@ -0,0 +1 @@ +//http://link.org// \ No newline at end of file diff --git a/test/difficult-emphasis-#8.output.txt b/test/difficult-emphasis-#8.output.txt new file mode 100644 index 0000000..336af88 --- /dev/null +++ b/test/difficult-emphasis-#8.output.txt @@ -0,0 +1 @@ +

http://link.org

\ No newline at end of file diff --git a/test/difficult-emphasis-#9.input.txt b/test/difficult-emphasis-#9.input.txt new file mode 100644 index 0000000..36d9ea2 --- /dev/null +++ b/test/difficult-emphasis-#9.input.txt @@ -0,0 +1 @@ +// ftp://www.link.org // \ No newline at end of file diff --git a/test/difficult-emphasis-#9.output.txt b/test/difficult-emphasis-#9.output.txt new file mode 100644 index 0000000..0608ab1 --- /dev/null +++ b/test/difficult-emphasis-#9.output.txt @@ -0,0 +1 @@ +

ftp://www.link.org

\ No newline at end of file diff --git a/test/dummy-without-corresponding-output.input.txt b/test/dummy-without-corresponding-output.input.txt new file mode 100644 index 0000000..e69de29 diff --git a/test/emphasis.input.txt b/test/emphasis.input.txt new file mode 100644 index 0000000..032289b --- /dev/null +++ b/test/emphasis.input.txt @@ -0,0 +1 @@ +//Emphasis// \ No newline at end of file diff --git a/test/emphasis.output.txt b/test/emphasis.output.txt new file mode 100644 index 0000000..93eaeba --- /dev/null +++ b/test/emphasis.output.txt @@ -0,0 +1 @@ +

Emphasis

\ No newline at end of file diff --git a/test/h1.input.txt b/test/h1.input.txt new file mode 100644 index 0000000..2000784 --- /dev/null +++ b/test/h1.input.txt @@ -0,0 +1 @@ += Header = \ No newline at end of file diff --git a/test/h1.output.txt b/test/h1.output.txt new file mode 100644 index 0000000..689a688 --- /dev/null +++ b/test/h1.output.txt @@ -0,0 +1 @@ +

Header

\ No newline at end of file diff --git a/test/h2.input.txt b/test/h2.input.txt new file mode 100644 index 0000000..a2bc486 --- /dev/null +++ b/test/h2.input.txt @@ -0,0 +1 @@ +== Header = \ No newline at end of file diff --git a/test/h2.output.txt b/test/h2.output.txt new file mode 100644 index 0000000..7369147 --- /dev/null +++ b/test/h2.output.txt @@ -0,0 +1 @@ +

Header

\ No newline at end of file diff --git a/test/h3.input.txt b/test/h3.input.txt new file mode 100644 index 0000000..4bb4cc0 --- /dev/null +++ b/test/h3.input.txt @@ -0,0 +1 @@ +=== Header = \ No newline at end of file diff --git a/test/h3.output.txt b/test/h3.output.txt new file mode 100644 index 0000000..8634f69 --- /dev/null +++ b/test/h3.output.txt @@ -0,0 +1 @@ +

Header

\ No newline at end of file diff --git a/test/h4.input.txt b/test/h4.input.txt new file mode 100644 index 0000000..0439f7f --- /dev/null +++ b/test/h4.input.txt @@ -0,0 +1 @@ +==== Header = \ No newline at end of file diff --git a/test/h4.output.txt b/test/h4.output.txt new file mode 100644 index 0000000..74ac160 --- /dev/null +++ b/test/h4.output.txt @@ -0,0 +1 @@ +

Header

\ No newline at end of file diff --git a/test/h5.input.txt b/test/h5.input.txt new file mode 100644 index 0000000..cbe5f09 --- /dev/null +++ b/test/h5.input.txt @@ -0,0 +1 @@ +===== Header \ No newline at end of file diff --git a/test/h5.output.txt b/test/h5.output.txt new file mode 100644 index 0000000..91c8302 --- /dev/null +++ b/test/h5.output.txt @@ -0,0 +1 @@ +
Header
\ No newline at end of file diff --git a/test/h6.input.txt b/test/h6.input.txt new file mode 100644 index 0000000..f333b14 --- /dev/null +++ b/test/h6.input.txt @@ -0,0 +1 @@ +====== Header = \ No newline at end of file diff --git a/test/h6.output.txt b/test/h6.output.txt new file mode 100644 index 0000000..1ce38f7 --- /dev/null +++ b/test/h6.output.txt @@ -0,0 +1 @@ +
Header
\ No newline at end of file diff --git a/test/horizontal-rule.input.txt b/test/horizontal-rule.input.txt new file mode 100644 index 0000000..b86aa52 --- /dev/null +++ b/test/horizontal-rule.input.txt @@ -0,0 +1,3 @@ +Some text +---- +Some more text \ No newline at end of file diff --git a/test/horizontal-rule.output.txt b/test/horizontal-rule.output.txt new file mode 100644 index 0000000..05809bf --- /dev/null +++ b/test/horizontal-rule.output.txt @@ -0,0 +1 @@ +

Some text


Some more text

\ No newline at end of file diff --git a/test/image.input.txt b/test/image.input.txt new file mode 100644 index 0000000..82de5f6 --- /dev/null +++ b/test/image.input.txt @@ -0,0 +1 @@ +{{image.gif|my image}} \ No newline at end of file diff --git a/test/image.output.txt b/test/image.output.txt new file mode 100644 index 0000000..421ea11 --- /dev/null +++ b/test/image.output.txt @@ -0,0 +1 @@ +

my image

\ No newline at end of file diff --git a/test/inline-tt.input.txt b/test/inline-tt.input.txt new file mode 100644 index 0000000..668057e --- /dev/null +++ b/test/inline-tt.input.txt @@ -0,0 +1 @@ +Inline {{{tt}}} example {{{here}}}! \ No newline at end of file diff --git a/test/inline-tt.output.txt b/test/inline-tt.output.txt new file mode 100644 index 0000000..4b26296 --- /dev/null +++ b/test/inline-tt.output.txt @@ -0,0 +1 @@ +

Inline tt example here!

\ No newline at end of file diff --git a/test/multi-line-emphasis.input.txt b/test/multi-line-emphasis.input.txt new file mode 100644 index 0000000..7dbeaa4 --- /dev/null +++ b/test/multi-line-emphasis.input.txt @@ -0,0 +1,6 @@ +Bold and italics should //be +able// to cross lines. + +But, should //not be... + +...able// to cross paragraphs. \ No newline at end of file diff --git a/test/multi-line-emphasis.output.txt b/test/multi-line-emphasis.output.txt new file mode 100644 index 0000000..751f62e --- /dev/null +++ b/test/multi-line-emphasis.output.txt @@ -0,0 +1,6 @@ +

Bold and italics should be +able to cross lines. +

+But, should //not be... +

+...able// to cross paragraphs.

\ No newline at end of file diff --git a/test/named-link.input.txt b/test/named-link.input.txt new file mode 100644 index 0000000..59ef88e --- /dev/null +++ b/test/named-link.input.txt @@ -0,0 +1 @@ +[[MyPage|My page]] \ No newline at end of file diff --git a/test/named-link.output.txt b/test/named-link.output.txt new file mode 100644 index 0000000..912d393 --- /dev/null +++ b/test/named-link.output.txt @@ -0,0 +1 @@ +

My page

\ No newline at end of file diff --git a/test/named-url.input.txt b/test/named-url.input.txt new file mode 100644 index 0000000..a71274b --- /dev/null +++ b/test/named-url.input.txt @@ -0,0 +1 @@ +[[http://example.com/examplepage|Example Page]] \ No newline at end of file diff --git a/test/named-url.output.txt b/test/named-url.output.txt new file mode 100644 index 0000000..ff2c2a6 --- /dev/null +++ b/test/named-url.output.txt @@ -0,0 +1 @@ +

Example Page

\ No newline at end of file diff --git a/test/ordered-item-with-ordered-sublist.input.txt b/test/ordered-item-with-ordered-sublist.input.txt new file mode 100644 index 0000000..181b2f8 --- /dev/null +++ b/test/ordered-item-with-ordered-sublist.input.txt @@ -0,0 +1,2 @@ +# Item +## Subitem \ No newline at end of file diff --git a/test/ordered-item-with-ordered-sublist.output.txt b/test/ordered-item-with-ordered-sublist.output.txt new file mode 100644 index 0000000..79cd7c0 --- /dev/null +++ b/test/ordered-item-with-ordered-sublist.output.txt @@ -0,0 +1,2 @@ +
  1. Item
      +
    1. Subitem
\ No newline at end of file diff --git a/test/ordered-sublist-without-initial-tag.input.txt b/test/ordered-sublist-without-initial-tag.input.txt new file mode 100644 index 0000000..8e45942 --- /dev/null +++ b/test/ordered-sublist-without-initial-tag.input.txt @@ -0,0 +1 @@ +## Sublist item \ No newline at end of file diff --git a/test/ordered-sublist-without-initial-tag.output.txt b/test/ordered-sublist-without-initial-tag.output.txt new file mode 100644 index 0000000..0587284 --- /dev/null +++ b/test/ordered-sublist-without-initial-tag.output.txt @@ -0,0 +1 @@ +

## Sublist item

\ No newline at end of file diff --git a/test/preformatted-block.input.txt b/test/preformatted-block.input.txt new file mode 100644 index 0000000..0ce854b --- /dev/null +++ b/test/preformatted-block.input.txt @@ -0,0 +1,3 @@ +{{{ +Preformatted block +}}} \ No newline at end of file diff --git a/test/preformatted-block.output.txt b/test/preformatted-block.output.txt new file mode 100644 index 0000000..42b0a91 --- /dev/null +++ b/test/preformatted-block.output.txt @@ -0,0 +1,2 @@ +
Preformatted block
+
\ No newline at end of file diff --git a/test/raw-url.input.txt b/test/raw-url.input.txt new file mode 100644 index 0000000..8ebd56b --- /dev/null +++ b/test/raw-url.input.txt @@ -0,0 +1 @@ +http://example.com/examplepage \ No newline at end of file diff --git a/test/raw-url.output.txt b/test/raw-url.output.txt new file mode 100644 index 0000000..b0ec525 --- /dev/null +++ b/test/raw-url.output.txt @@ -0,0 +1 @@ +

http://example.com/examplepage

\ No newline at end of file diff --git a/test/simple-ordered-list.input.txt b/test/simple-ordered-list.input.txt new file mode 100644 index 0000000..9cde6b0 --- /dev/null +++ b/test/simple-ordered-list.input.txt @@ -0,0 +1,2 @@ +# list item +#list item 2 \ No newline at end of file diff --git a/test/simple-ordered-list.output.txt b/test/simple-ordered-list.output.txt new file mode 100644 index 0000000..34fb177 --- /dev/null +++ b/test/simple-ordered-list.output.txt @@ -0,0 +1,2 @@ +
  1. list item
  2. +
  3. list item 2
\ No newline at end of file diff --git a/test/simple-unordered-list.input.txt b/test/simple-unordered-list.input.txt new file mode 100644 index 0000000..019ac85 --- /dev/null +++ b/test/simple-unordered-list.input.txt @@ -0,0 +1,2 @@ +* list item +*list item 2 \ No newline at end of file diff --git a/test/simple-unordered-list.output.txt b/test/simple-unordered-list.output.txt new file mode 100644 index 0000000..5634c4b --- /dev/null +++ b/test/simple-unordered-list.output.txt @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/test/strong.input.txt b/test/strong.input.txt new file mode 100644 index 0000000..e5d3ce8 --- /dev/null +++ b/test/strong.input.txt @@ -0,0 +1 @@ +**Strong** \ No newline at end of file diff --git a/test/strong.output.txt b/test/strong.output.txt new file mode 100644 index 0000000..7ded6c8 --- /dev/null +++ b/test/strong.output.txt @@ -0,0 +1 @@ +

Strong

\ No newline at end of file diff --git a/test/tables.input.txt b/test/tables.input.txt new file mode 100644 index 0000000..1038fa2 --- /dev/null +++ b/test/tables.input.txt @@ -0,0 +1,2 @@ +| A | B | +| //C// | **D** \\ E | \ No newline at end of file diff --git a/test/tables.output.txt b/test/tables.output.txt new file mode 100644 index 0000000..de0276a --- /dev/null +++ b/test/tables.output.txt @@ -0,0 +1 @@ +
A B
C D
E
\ No newline at end of file diff --git a/test/two-preformatted-blocks.input.txt b/test/two-preformatted-blocks.input.txt new file mode 100644 index 0000000..636f199 --- /dev/null +++ b/test/two-preformatted-blocks.input.txt @@ -0,0 +1,4 @@ +{{{ +Preformatted block +}}} +{{{Block 2}}} \ No newline at end of file diff --git a/test/two-preformatted-blocks.output.txt b/test/two-preformatted-blocks.output.txt new file mode 100644 index 0000000..5f16814 --- /dev/null +++ b/test/two-preformatted-blocks.output.txt @@ -0,0 +1,2 @@ +
Preformatted block
+
Block 2
\ No newline at end of file diff --git a/test/unnamed-link.input.txt b/test/unnamed-link.input.txt new file mode 100644 index 0000000..0b11afe --- /dev/null +++ b/test/unnamed-link.input.txt @@ -0,0 +1 @@ +[[MyPage]] \ No newline at end of file diff --git a/test/unnamed-link.output.txt b/test/unnamed-link.output.txt new file mode 100644 index 0000000..7ed65d2 --- /dev/null +++ b/test/unnamed-link.output.txt @@ -0,0 +1 @@ +

MyPage

\ No newline at end of file diff --git a/test/unnamed-url.input.txt b/test/unnamed-url.input.txt new file mode 100644 index 0000000..ea80e5d --- /dev/null +++ b/test/unnamed-url.input.txt @@ -0,0 +1 @@ +[[http://example.com/examplepage]] \ No newline at end of file diff --git a/test/unnamed-url.output.txt b/test/unnamed-url.output.txt new file mode 100644 index 0000000..b0ec525 --- /dev/null +++ b/test/unnamed-url.output.txt @@ -0,0 +1 @@ +

http://example.com/examplepage

\ No newline at end of file diff --git a/test/unordered-item-with-ordered-sublist.input.txt b/test/unordered-item-with-ordered-sublist.input.txt new file mode 100644 index 0000000..10ac242 --- /dev/null +++ b/test/unordered-item-with-ordered-sublist.input.txt @@ -0,0 +1,2 @@ +* Item +*# Subitem \ No newline at end of file diff --git a/test/unordered-item-with-ordered-sublist.output.txt b/test/unordered-item-with-ordered-sublist.output.txt new file mode 100644 index 0000000..57ed1da --- /dev/null +++ b/test/unordered-item-with-ordered-sublist.output.txt @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/test/unordered-item-with-unordered-sublist.input.txt b/test/unordered-item-with-unordered-sublist.input.txt new file mode 100644 index 0000000..b4d3ecd --- /dev/null +++ b/test/unordered-item-with-unordered-sublist.input.txt @@ -0,0 +1,2 @@ +* Item +** Subitem \ No newline at end of file diff --git a/test/unordered-item-with-unordered-sublist.output.txt b/test/unordered-item-with-unordered-sublist.output.txt new file mode 100644 index 0000000..9c4a46f --- /dev/null +++ b/test/unordered-item-with-unordered-sublist.output.txt @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/test/unordered-sublist-without-initial-tag.input.txt b/test/unordered-sublist-without-initial-tag.input.txt new file mode 100644 index 0000000..f495ea5 --- /dev/null +++ b/test/unordered-sublist-without-initial-tag.input.txt @@ -0,0 +1 @@ +** Sublist item \ No newline at end of file diff --git a/test/unordered-sublist-without-initial-tag.output.txt b/test/unordered-sublist-without-initial-tag.output.txt new file mode 100644 index 0000000..59d4091 --- /dev/null +++ b/test/unordered-sublist-without-initial-tag.output.txt @@ -0,0 +1 @@ +

** Sublist item

\ No newline at end of file diff --git "a/test/url\342\210\225emphasis-ambiguity.input.txt" "b/test/url\342\210\225emphasis-ambiguity.input.txt" new file mode 100644 index 0000000..4c29ff9 --- /dev/null +++ "b/test/url\342\210\225emphasis-ambiguity.input.txt" @@ -0,0 +1 @@ +This is an //italic// text. This is a url: http://www.wikicreole.org. This is what can go wrong://this should be an italic text//. \ No newline at end of file diff --git "a/test/url\342\210\225emphasis-ambiguity.output.txt" "b/test/url\342\210\225emphasis-ambiguity.output.txt" new file mode 100644 index 0000000..9be7ec8 --- /dev/null +++ "b/test/url\342\210\225emphasis-ambiguity.output.txt" @@ -0,0 +1 @@ +

This is an italic text. This is a url: http://www.wikicreole.org. This is what can go wrong:this should be an italic text.

\ No newline at end of file -- cgit v1.2.3