-
Notifications
You must be signed in to change notification settings - Fork 149
WikiProcessors
Jonathan Guyer edited this page Sep 26, 2014
·
1 revision
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]
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