2013-11-06 | Paul Boddie | raw annotate files changeset graph | Fixed imports and used an existing function for searching. | subpage-items |
1 #!/usr/bin/env python 2 3 from MoinSupport import getSimpleWikiText 4 5 s = u''' 6 Some normal text. 7 8 Some !LinkProtected text. 9 10 Some <<Verbatim(verbatim)>> text. 11 12 Some <<Verbatim("""verbatim""")>> text. 13 14 Some <<Verbatim("multi-argument, quoted verbatim")>> text. 15 16 Some `monospaced` text. 17 18 Some {{{preformatted}}} text. 19 ''' 20 21 print getSimpleWikiText(s) 22 23 # vim: tabstop=4 expandtab shiftwidth=4