Attachment 'deg.py'

Download

   1 Extra simple macro:
   2 {{{
   3 #!python
   4 # -*- coding: iso-8859-1 -*-
   5 """
   6     MoinMoin - deg Macro
   7 
   8     This very complicated macro produces the html command ° I.e. a degree symbol.
   9 
  10     @copyright: I claim no copyright.
  11     @license: GNU GPL, see COPYING for details.
  12 """
  13 
  14 Dependencies = []
  15 
  16 def execute(macro, args):
  17     return macro.formatter.rawHTML("°")
  18 }}}

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-01-29 21:05:40, 0.4 KB) [[attachment:deg.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.