Changes between Version 4 and Version 5 of IncludeMacro


Ignore:
Timestamp:
May 6, 2008 9:56:52 AM (6 years ago)
Author:
coderanger
Comment:

Move to using docs in svn.

Legend:

Unmodified
Added
Removed
Modified
  • IncludeMacro

    v4 v5  
    11= Include external resources in a wiki page. = 
    22 
    3 == Description == 
    4  
    5 This macro lets you include things into wiki pages. 
    6  
    7 Currently supported sources are: 
    8  * HTTP - ''http:'' and ''https:'' 
    9  * FTP - ''ftp:'' 
    10  * Wiki pages - ''wiki:'' 
    11  * Repository files - ''source:'' 
    12  
    13 An optional second argument lets you force the output MIME type to something specific, but most things should have sane defaults. 
    14  
    15 For URL includes (HTTP and FTP) you need the permission `INCLUDE_URL`. For other internal resources you need the normal Trac permission to access it. 
     3[[Include(source:includemacro/0.11/README)]] 
    164 
    175== Bugs/Feature Requests ==  
     
    3119You can check out IncludeMacro from [http://trac-hacks.org/svn/includemacro here] using Subversion, or [source:includemacro browse the source] with Trac. 
    3220 
    33 == Example == 
    34  
    35 Include Google on a page: 
    36 {{{ 
    37 [[Include(http://www.google.com)]] 
    38 }}} 
    39  
    40 Include a wiki-formatted file from the repository: 
    41 {{{ 
    42 [[Include(source:trunk/my_file.txt, text/x-trac-wiki)]] 
    43 }}} 
    44  
    4521== Recent Changes == 
    4622