aboutsummaryrefslogtreecommitdiff
path: root/velocity-custom-parser-example/src/test/resources/templates/test.md
blob: f8badd9d70bd3dde78d7f7417e0daf9c54b6a706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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