MoinSupport

Annotated tests/test_verbatim.py

118:791ab8b6dd9d
2015-01-28 Paul Boddie Merged changes from the default branch. recurrences
paul@88 1
#!/usr/bin/env python
paul@88 2
paul@88 3
from MoinSupport import getSimpleWikiText
paul@88 4
paul@88 5
s = u'''
paul@88 6
Some normal text.
paul@88 7
paul@88 8
Some !LinkProtected text.
paul@88 9
paul@88 10
Some <<Verbatim(verbatim)>> text.
paul@88 11
paul@88 12
Some <<Verbatim("""verbatim""")>> text.
paul@88 13
paul@88 14
Some <<Verbatim("multi-argument, quoted verbatim")>> text.
paul@88 15
paul@88 16
Some `monospaced` text.
paul@88 17
paul@88 18
Some {{{preformatted}}} text.
paul@88 19
'''
paul@88 20
paul@88 21
print getSimpleWikiText(s)
paul@88 22
paul@88 23
# vim: tabstop=4 expandtab shiftwidth=4