Version 6 (modified by 16 years ago) (diff) | ,
---|
Email Processor Macro
Notice: This plugin is unmaintained and available for adoption.
Description
Processor to wrap a <pre></pre>
text block to 72 cols.
This is especially useful for pasting emails and getting blocks that don't scroll.
Bugs/Feature Requests
Existing bugs and feature requests for EmailProcessorMacro are here. If you have any issues, create a new ticket.
Download and Source
Download the [download:emailprocessormacro zipped source], check out using Subversion, or browse the source with Trac.
Installation
While this is a wiki macro, it is the new format macro which is actually a plugin. As of 0.11, old style macros (those installed in the wiki-macros folder and only consisting of an execute
function) are no longer supported. This means that this macro
needs to be installed in the global plugin directory, or in the trac environment's plugins
directory.
- Copy
emailprocessor.py
into the environment'splugins
directory - Add the following to the environment's
trac.ini
[components] emailprocessor.* = enabled
- Restart your server
Example
Use it like code highlighting:
{{{ #!email This is some text that will be wrapped }}}
Recent Changes
Author/Contributors
Author: pacopablo
Contributors:
Attachments (1)
-
email_formatter_example.png (13.6 KB) - added by 16 years ago.
example of macro usage
Download all attachments as: .zip