A simple and clear example of writing extensions for Python-Markdown