wiki:EmailProcessorMacro

Version 4 (modified by pacopablo, 6 years ago) (diff)

Added info regarding the need to install as a plugin per #2750

Email Processor Macro

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.

example of macro usage

Bugs/Feature Requests

Existing bugs and feature requests for EmailProcessorMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out EmailProcessorMacro from here 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.

Example

Use it like code highlighting:

 {{{
 #!email
 This is some text that will be wrapped
 }}}

Recent Changes

[10962] by rjollos on 2011-12-01 10:35:55
Refs #6394: Replaced source URL with trac-hacks URL.
[10961] by rjollos on 2011-12-01 10:31:37
Refs #6394: Follow-on to [7365]. Added svn:keywords.
[7365] by pacopablo on 2010-01-10 08:26:21
Applied patch from rjollos adding revision info to the macro. Also renamed file per rjollos' recommendation.
Closes #6394

Author/Contributors

Author: pacopablo
Contributors:

Attachments (1)

Download all attachments as: .zip