Skip to main content

Implements Markdown syntax WikiProcessor as a Trac macro.

Project description

= Markdown !WikiProcessor Macro Implementation =

== Description ==

The !MarkdownMacro package implements John Gruber's [ Markdown] lightweight plain text-to-HTML formatting syntax as a [WikiProcessors WikiProcessor] macro. The original code is courtesy of Alex Mizrahi aka [#SeeAlso killer_storm]. I simply added a little robustness to the error checking, documented the package, created and this README, and registered it with [MarkdownMacro Trac Hacks].

== Bugs/Feature Requests ==

Existing bugs and feature requests for MarkdownMacro are [query:status!=closed&component=MarkdownMacro&order=priority here].

If you have any issues, create a [/newticket?component=MarkdownMacro&owner=dwclifton new ticket].

== Download ==

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

== Source ==

You can check out WikiSearchMacro from [ here] using Subversion, or [source:markdownmacro browse the source] with Trac.

== Installation ==

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

Proceed to install the plugin as described in t:TracPlugins.

Enable the macro in trac.ini:

{{{#!ini [components] Markdown.* = enabled }}}

You may have to restart your Web server.

== Example ==

{{{ {{{#!Markdown


  • Red
  • Green
  • Blue

Source Code

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

An example link. }}} }}}

== See Also ==

  • John Gruber's [ Markdown]
  • [ Python Markdown]
  • [ Markdown syntax]

== Author/Contributors ==

  • '''Author:''' [wiki:dwclifton] (Macro/Processor package, setup, documentation)
  • '''Maintainer:''' [wiki:dwclifton]
  • '''Contributors:'''
  • [ John Gruber]
  • [ Yuri Takhteyev, et al.]
  • Alex Mizrahi alias [ killer_storm]
  • The Trac and Python development community

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TracMarkdownMacro-0.11.8.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distributions

TracMarkdownMacro-0.11.8-py2.7.egg (4.3 kB view hashes)

Uploaded Source

TracMarkdownMacro-0.11.8-py2-none-any.whl (5.6 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page