Skip to content

WikiProcessors

Jonathan Guyer edited this page Sep 26, 2014 · 1 revision

Table of Contents

Wiki Processors

Processors are WikiMacros designed to provide alternative markup formats for the [TracWiki]. Processors can be thought of as macro functions to process user-edited text.

Wiki processors can be used in any Wiki text throughout Trac, for various different purposes, like:

 - [#CodeHighlightingSupport syntax highlighting] or for rendering text verbatim,
 - rendering [#HTMLrelated Wiki markup inside a context], 
   like inside <div> blocks or <span> or within <td> or <th> table cells,
 - using an alternative markup syntax, like [wiki:WikiHtml raw HTML] and
   [wiki:WikiRestructuredText Restructured Text],
   or [http://www.textism.com/tools/textile/ textile]

Using Processors

To use a processor on a block of text, first delimit the lines using a Wiki code block:

Immediately after the `

For more processor macros developed and/or contributed by users, visit:

 * [trac:ProcessorBazaar]
 * [trac:MacroBazaar]
 * <a href="http://trac-hacks.org" target="_blank">Trac Hacks</a> community site

Developing processors is no different from Wiki macros. In fact they work the same way, only the usage syntax differs. See WikiMacros#DevelopingCustomMacros for more information.


See also: WikiMacros, WikiHtml, WikiRestructuredText, TracSyntaxColoring, WikiFormatting, TracGuide
Clone this wiki locally