Edgewall Software

Changes between Version 14 and Version 15 of MacroBazaar


Ignore:
Timestamp:
Nov 4, 2004, 4:21:37 PM (20 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • MacroBazaar

    v14 v15  
    2626[[BR]]''Download:'' http://randomfoo.net/code/trac/include.py
    2727[[BR]]''By:'' lhl   --    ''Ver:'' 0.7.1
     28
     29=== WikiFile ===
     30
     31Inserts the output of an URL/file as wiki file. The file can be written
     32in trac syntax and the macro will convert it to html.
     33
     34The macro looks at the suffix of the file and tries to interpret it
     35according to that syntax,
     36
     37html will be intrepreted as html
     38
     39rst will be interpreted  Restructured Text
     40
     41cpp as c++ etc
     42
     43So you can have a file on the filesystme that is written with
     44trac syntax or restructured text and display it within the wiki.
     45The advantage is that you can use version control on file. The
     46disadvantage is that you cant click page history and see the
     47history of the page. You can also not edit the file within the
     48Wiki which takes away alot of the advantages of a Wiki. But
     49within a company it might be ok.
     50
     51Example:
     52{{{
     53[[WikiFile(http://www.example.com/myfile.rst)]]
     54}}}
     55
     56
     57''Download:'' http://projects.edgewall.com/trac/attachment/wiki/MacroBazaar/WikiFile.py
     58''By:'' Toni Brkic   --    ''Required ver'' patch for #801 must be implemented
     59
    2860
    2961=== Javadoc ===