Skip to main content

= 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

Release files for TracMarkdownMacro 0.11.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for TracMarkdownMacro 0.11.10
File Size Uploaded
tracmarkdownmacro-0.11.10.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for TracMarkdownMacro 0.11.10
File Interpreter ABI Platform
tracmarkdownmacro-0.11.10-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 18.7 kB

Release files / tracmarkdownmacro-0.11.10.tar.gz

Download URL tracmarkdownmacro-0.11.10.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c08a163615862521c94d0dfa8cc452bb24b5068016ec6a6f532d9a010b6c1744
BLAKE2b-256 checksum
How to use checksums
eaa6fd0a648df12101d70718843c48f5a1d1bd13d839ac2c4a2597cd611ea9e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / tracmarkdownmacro-0.11.10-py2.py3-none-any.whl

Download URL tracmarkdownmacro-0.11.10-py2.py3-none-any.whl
Size 10.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5e35029705b8cd30da0e3bf4bf07509e1548971829af19ad852949827db7925b
BLAKE2b-256 checksum
How to use checksums
db072d970c695bb4ae3a44096738c174f2c79dc215c1e8ad20121ea89ccdfc5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.11.10 This release

2 release files

0.11.8

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page