Implements Markdown syntax WikiProcessor as a Trac macro.
Project description
= Markdown !WikiProcessor Macro Implementation =
== Description ==
The !MarkdownMacro package implements John Gruber's [http://daringfireball.net/projects/markdown/ 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 setup.py 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 [http://trac-hacks.org/svn/markdownmacro here] using Subversion, or [source:markdownmacro browse the source] with Trac.
== Installation ==
First you need to install [http://freewisdom.org/projects/python-markdown/ 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
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. }}} }}}
== See Also ==
- John Gruber's [http://daringfireball.net/projects/markdown/ Markdown]
- [http://www.freewisdom.org/projects/python-markdown/ Python Markdown]
- [http://daringfireball.net/projects/markdown/syntax Markdown syntax]
== Author/Contributors ==
- '''Author:''' [wiki:dwclifton] (Macro/Processor package, setup, documentation)
- '''Maintainer:''' [wiki:dwclifton]
- '''Contributors:'''
- [http://daringfireball.net/colophon/ John Gruber]
- [http://www.freewisdom.org/projects/python-markdown/Credits Yuri Takhteyev, et al.]
- Alex Mizrahi alias [http://trac-hacks.org/attachment/ticket/353/Markdown.py killer_storm]
- The Trac and Python development community
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for TracMarkdownMacro-0.11.8-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | b543e5309df7317d9ca43b1c8f8445b68c91151e8422349439191dc2321895f2 |
|
MD5 | 76be0e2fc8971d6da5350e2f2d974d38 |
|
BLAKE2b-256 | 1321273ec071223d03113c6c6a2931ffd5b3215a744c8ceac2215e55af60d6bf |
Hashes for TracMarkdownMacro-0.11.8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e96d48c7f0250088537a67d6273cb9c9db9115548ae464983c51731d85bc4ed |
|
MD5 | ffeafcb8b2e05055580ca1f189d03597 |
|
BLAKE2b-256 | 842d54a1816e86779a11b2081596d1803a38ae48555bbcd13d4cb1c6bd663ad9 |