diff options
Diffstat (limited to 'velocity-custom-parser-example/src/test/resources/templates/test.md')
-rw-r--r-- | velocity-custom-parser-example/src/test/resources/templates/test.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/velocity-custom-parser-example/src/test/resources/templates/test.md b/velocity-custom-parser-example/src/test/resources/templates/test.md new file mode 100644 index 00000000..f8badd9d --- /dev/null +++ b/velocity-custom-parser-example/src/test/resources/templates/test.md @@ -0,0 +1,23 @@ +# Test markdown template for the custom parser + +@* this is a comment *@ + +@set ($subtitle = 'Custom parser is needed') + +## $subtitle + +some $some @@ should print 'some value' + +@if ($some == 'value') + all seems fine +@else + there is a problem +@end + +@macro(block $foo) + block macro called with foo=$foo and bodyContent=$bodyContent +@end + +@%block($some) +here +@end |