diff options
Diffstat (limited to 'demo.py')
-rw-r--r-- | demo.py | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -8,7 +8,7 @@ from creole import creole2html, html2creole -source = """\ +source = u"""\ == simple demo You can convert from: @@ -23,19 +23,19 @@ You can convert from: More info on our [[http://code.google.com/p/python-creole/|Homepage]].""" -print "*"*79 +print "*" * 79 print " Source creole markup text:" -print "-"*79 +print "-" * 79 print source -print "*"*79 +print "*" * 79 print " Convert it into html:" -print "-"*79 +print "-" * 79 html = creole2html(source) print html -print "*"*79 +print "*" * 79 print " Convert the html code back into creole:" -print "-"*79 +print "-" * 79 creole = html2creole(html) print creole |