Version 2 (modified by dwclifton, 8 years ago) (diff)


Markdown WikiProcessor Implementation


The MarkdownMacro package implements John Gruber's Markdown lightweight plain text-to-HTML formatting syntax as a Trac WikiProcessor macro.


First you need to install Python Markdown. Follow the instructions on the Web site.

Then download the attached [download:markdownmacro zipfile], unpack it to a temporary location, visit the 0.11 directory and run:

python bdist_egg
cp dist/*.egg /trac/env/Project/plugins


Enable the macro in:


Markdown.* = enabled

You may have to restart your Web server.




+ Red
+ Green
+ Blue

## Source Code

    from trac.core import *
    from import WikiMacroBase
    from import Formatter

An example [link]( "With a Title").


  • Browse the source at: GitHub.
  • Public clone URL:
    git clone git://

See Also

Bugs/Feature Requests

Existing bugs and feature requests for MarkdownMacro are here.

If you have any issues, create a new ticket.

Recent Changes

16092 by rjollos on 2016-12-18 05:42:12
0.11.5: Handle case in which HREF regex does not find a match

Fixes #12996.

13924 by rjollos on 2014-05-12 04:16:23
Fixed indentation using Refs #11743.
13265 by rjollos on 2013-06-06 08:46:39
PEP-0008 changes.