diff options
Diffstat (limited to 'creole/creole2html/example_macros.py')
| -rw-r--r-- | creole/creole2html/example_macros.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/creole/creole2html/example_macros.py b/creole/creole2html/example_macros.py new file mode 100644 index 0000000..54249c9 --- /dev/null +++ b/creole/creole2html/example_macros.py @@ -0,0 +1,21 @@ +# coding: utf-8 + + +""" + Creole macros + ~~~~~~~~~~~~~ + + Note: all mecro functions must return unicode! + + :copyleft: 2008-2011 by python-creole team, see AUTHORS for more details. + :license: GNU GPL v3 or above, see LICENSE for more details. +""" + + +def html(text): + """ + Macro tag <<html>>...<</html>> + Pass-trought for html code (or other stuff) + """ + return text + |
