wiki:MarkdownMacro

Version 1 (modified by Douglas Clifton, 15 years ago) (diff)

New hack MarkdownMacro, created by dwclifton

WikiProcessor implementation of Markdown

Description

The MarkdownMacro package implements John Gruber's Markdown lightweight markup syntax as a Trac WikiProcessor macro.

Bugs/Feature Requests

Existing bugs and feature requests for MarkdownMacro are here.

If you have any issues, create a new ticket.

Download

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

Source

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

Example

{{{
#!Markdown

# RGB

+ Red
+ Green
+ Blue

## Source Code

    from trac.core import *
    from trac.wiki.macros import WikiMacroBase
    from trac.wiki.formatter import Formatter

An example [link](http://example.com/ "With a Title").
}}}

Recent Changes

18423 by Cinc-th on 2021-06-03 08:23:45
MarkdownMacro: use Markdown < 3.2 install requirement only for Python 2. For Python 3 (Trac >1.4.x) any release will do.
18422 by Cinc-th on 2021-06-02 06:02:38
MarkdownMacro: removed debug print statement.
18417 by Cinc-th on 2021-06-01 10:33:33
MarkdownMacro: new preview renderer for *.md files. To render README.md und Install.md properly change the following in trac.ini.

[mimeviewer]
mime_map_patterns = text/plain:README(?!(\.md|\.rst))|INSTALL(\.md|\.rst)|COPYING.*

Closes #11743

(more)

Author/Contributors

Author: dwclifton
Contributors:

Attachments (1)

Download all attachments as: .zip