-
Notifications
You must be signed in to change notification settings - Fork 13
Notes
JensDiemer edited this page Apr 5, 2015
·
1 revision
There exists some differences to the original markup:
- italics ->
<i>
and not<em>
- inline format (bold, italic etc.) can't cross lines (see also: http://code.google.com/p/python-creole/issues/detail?id=12 )
- Since v1.0.5: Don't accept
Single punctuation characters (,.?!:;"') at the end of URLs
(see: Creole1.0 link specs)
We implemented a more stricted image tag than the original:
- It matches only if...
- ...image target ends with a picture extention
- ...separator >|< for the image text exist
We used blog-style line break instead of wiki-style (every line break would be convertet into {{{
}}})
But you can change back to "wiki new line style", e.g.:
>>> from creole import creole2html
>>> creole2html("Wiki style\\\\line breaks.", blog_line_breaks=False)
u'<p>Wiki style<br />\nline breaks.</p>\n'
(see also: [API])
The creole2html part support macros. But you must activate macros by ourself. More information: CreoleMacros
- http://wiki.wikicreole.org/
- http://creoledit.users.sourceforge.net/
- http://code.google.com/p/creoleparser/source/browse/trunk/creoleparser/tests.py
- http://hg.moinmo.in/moin/1.8/file/tip/MoinMoin/parser/
- http://sheep.art.pl/devel/creole/file/tip
- http://code.google.com/p/djikiki/source/browse/#svn/trunk/djikiki/creole
- http://creoleparser.googlepages.com/cheatsheetplus.html
- http://www.wikicreole.org/creole-sandbox/EditX.jsp?page=Home
- http://www.wikicreole.org/wiki/Sandbox