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 [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


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.9.tar.gz (5.0 kB view details)

Uploaded Source

Built Distributions

TracMarkdownMacro-0.11.9-py2.7.egg (4.5 kB view details)

Uploaded Source

TracMarkdownMacro-0.11.9-py2-none-any.whl (5.7 kB view details)

Uploaded Python 2

File details

Details for the file TracMarkdownMacro-0.11.9.tar.gz.

File metadata

  • Download URL: TracMarkdownMacro-0.11.9.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/2.7.18

File hashes

Hashes for TracMarkdownMacro-0.11.9.tar.gz
Algorithm Hash digest
SHA256 12a3a45509775f2c419161c4342b61a09ec688801107012f31ccef1e9fd76c15
MD5 616a85f1f25d9bb5dc393adea1d0b895
BLAKE2b-256 086c0fbc6794389131cf6c158aacc6d7823eae40bfda729519028b06a46bd745

See more details on using hashes here.

File details

Details for the file TracMarkdownMacro-0.11.9-py2.7.egg.

File metadata

  • Download URL: TracMarkdownMacro-0.11.9-py2.7.egg
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/2.7.18

File hashes

Hashes for TracMarkdownMacro-0.11.9-py2.7.egg
Algorithm Hash digest
SHA256 a6e9e0410f95a493a9300e06990896be2d9628d8b90909ec991930f884ea552d
MD5 3750736e9a3bfc331c6933807d459195
BLAKE2b-256 64ff6bb9e058af55bc7192c9d3fbf23b0cb89bb5aa4119f5ef7bccd9de040886

See more details on using hashes here.

File details

Details for the file TracMarkdownMacro-0.11.9-py2-none-any.whl.

File metadata

  • Download URL: TracMarkdownMacro-0.11.9-py2-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/2.7.18

File hashes

Hashes for TracMarkdownMacro-0.11.9-py2-none-any.whl
Algorithm Hash digest
SHA256 17e3a60a217ee572116056a47ffbfd29958df91b33132d8547bfa77fa6a7de93
MD5 ada1027a506b3f1c64435f9f37be1305
BLAKE2b-256 ce2ed0e8c31e84150db31ad5cde71da32bf3cf460a827d0d29ad5a3a3ec2d522

See more details on using hashes here.

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