Version 2 (modified by Noah Kantrowitz, 11 years ago) (diff)

No likely smileys

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

16430 by rjollos on 2017-04-01 09:20:11
TracIncludeMacro 3.1.0dev: Extract up to heading of the same level

Refs #9537.

16429 by rjollos on 2017-04-01 09:12:07
TracIncludeMacro 3.1.0dev: Allow linking to a page section

Refs #9537.

16342 by rjollos on 2017-03-17 09:18:44
3.0.0: Tag release


Author: coderanger