Version 1 (modified by Noah Kantrowitz, 10 years ago) (diff)

New hack IncludeMacro, created by coderanger

Include external resources in a wiki page.


This macro lets you include things into wiki pages.

Currently supported sources are:

  • HTTP (http:)
  • FTP (ftp:)
  • Wiki pages (wiki:)

An optional second argument lets you force the output MIME type to something specific, but most things should have sane defaults.

Bugs/Feature Requests

Existing bugs and feature requests for IncludeMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:includemacro here].


You can check out IncludeMacro from here using Subversion, or browse the source with Trac.


Include Google on a page:


Include a wiki-formatted file from the repository:

[[Include(source:trunk/my_file.txt, text/x-trac-wiki)]]

Recent Changes

16342 by rjollos on 2017-03-17 09:18:44
3.0.0: Tag release
16341 by rjollos on 2017-03-17 09:15:51
3.0.0: Prepare for release
16198 by rjollos on 2017-01-24 04:53:40
3.0.0dev: Require Trac >= 1.0 and conform to PEP8


Author: coderanger