Markdown WikiProcessor Macro Implementation

Notice: This plugin is unmaintained and available for adoption.


This macro implements John Gruber's Markdown lightweight plain text-to-HTML formatting syntax as a wiki processor macro. The original code is courtesy of Alex Mizrahi aka killer_storm. This plugin has higher robustness to the error checking, documentation of the package, a file and this README file added. The Table extension is also enabled.

Example of its usage:



+ Red
+ Green
+ Blue

## Source Code

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

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

A table:

First Header  | Second Header
------------- | -------------
Content Cell  | Content Cell
Content Cell  | Content Cell

See also:

Bugs/Feature Requests

Existing bugs and feature requests for MarkdownMacro are here.

If you have any issues, create a new ticket.


5 / 8


1 / 2


Download the zipped source from here.


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


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

General instructions on installing Trac plugins can be found on the TracPlugins page.

Enable the macro in your trac.ini file:

Markdown.* = enabled

You may have to restart your Web server.

Recent Changes

17556 by rjollos on 2019-11-16 23:12:04
TracMarkdownMacro 0.11.7: Make compatible with Trac 1.4

Fixes #13651.

16481 by rjollos on 2017-04-10 21:53:37
TracMarkdownMacro 0.11.6: Allow tab_length to be configured

Patch by j.femia@….

Fixes #13143.

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

Fixes #12996.



Author: dwclifton (Macro/Processor package, setup, documentation)
Maintainer: none (needsadoption)

Last modified 5 months ago Last modified on May 4, 2020, 9:57:12 PM