From b593ecdd3486f4541c0bcd68beec9146d78813a2 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Wed, 1 Apr 2015 23:34:18 +0200 Subject: Add first integration tests * "poem" contains a nice use case for user defined syntax that still needs to be implemented (indent and dedent as open/close tag) * "simple_short_token" triggers a non-deterministic bug that is not caught by valgrind * "wikilike" contains various user defined syntax tests as well as the not yet implemented per-field user defined syntax --- .../user_defined_syntax/wikilike.out.osxml | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 testdata/integration/user_defined_syntax/wikilike.out.osxml (limited to 'testdata/integration/user_defined_syntax/wikilike.out.osxml') diff --git a/testdata/integration/user_defined_syntax/wikilike.out.osxml b/testdata/integration/user_defined_syntax/wikilike.out.osxml new file mode 100644 index 0000000..7545997 --- /dev/null +++ b/testdata/integration/user_defined_syntax/wikilike.out.osxml @@ -0,0 +1,51 @@ + + + + + == This tests somewhat plays with user defined syntax == + + + As you + + surely + + can see, just the tiny + + \syntax + + definitions above make writing documents much easier. + + + For instance, this is a new paragraph. + + + And here goes another one. + + + All with the power of just adding + + \close{\paragraph} + + to the + + \syntax + + definition of the paragraph structure. + + + + Well, that's insane! + + , I hear you say. Right so! This indeed is insane. + + + == One last thing == + + + Did you notice how we started sections here? + + + Sections can be allowed to use Wiki-like syntax with only three lines of code. Awesome! + + + -- cgit v1.2.3