gobyexample/vendor/pygments/tests/examplefiles/genshitext_example.genshitext
Mark McGranaghan 8d31ec147c move to vendor
2012-11-17 08:21:42 -08:00

34 lines
332 B
Plaintext

## a comment
\## not a comment
#if foo
${bar}
#endif
The answer is:
#choose
#when 0 == 1
0
#end
#when 1 == 1
1
#end
#otherwise
2
#end
#end -- comment about choose
#for item in items
* ${item}
#end
#def greeting(name)
Hello, ${name}!
#end
${greeting('world')}
#with y=7; z=x+10
$x $y $z
#end