PikiPiki did not come with InlineImage support.

To add it,

add this to the definition of print_html above the <url> line

   + r"|(?P<img>(http|ftp)\:[^\s'\"]+\.(gif|jpg|jpeg|png))"

add this to the Page Formatter class

   def _img_repl(self, word):
        return '<img src="%s">' % (word)

InlineImages (last edited 2008-04-13 16:36:54 by localhost)