Changes between Version 16 and Version 17 of EmailProcessorMacro


Ignore:
Timestamp:
Apr 16, 2015, 11:30:40 AM (5 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • EmailProcessorMacro

    v16 v17  
    11[[PageOutline(2-5,Contents,pullout)]]
    2 = Fixed width text blocks =
    32
    4 == Description ==
     3= Insert word-wrapped text blocks
     4
     5== Description
    56
    67[t:WikiProcessors Wiki Processor] to wrap a {{{<pre></pre>}}} text block to a specified number of columns, 72 by default.
    78
    8 This is especially useful for pasting emails and getting blocks that don't scroll horizontally.
     9This is especially useful for pasting emails and getting blocks of text that don't scroll horizontally.
    910
    1011[[Image(email_formatter_example.png)]]
     
    1213The EmailProcessorMacro is installed on Trac-Hacks, so you can test it out. Please do so only by previewing, not submitting tickets.
    1314
    14 == Bugs/Feature Requests ==
     15== Bugs/Feature Requests
    1516
    1617Existing bugs and feature requests for EmailProcessorMacro are [query:status!=closed&component=EmailProcessorMacro&order=priority here]. If you have any issues, create a
    1718[/newticket?component=EmailProcessorMacro&owner=pacopablo new ticket].
    1819
    19 == Download and Source ==
     20[[TicketQuery(component=EmailProcessorMacro&group=type,format=progress)]]
     21
     22== Download and Source
    2023
    2124Download the [download:emailprocessormacro zipped source], check out [/svn/emailprocessormacro using Subversion], or [source:emailprocessormacro browse the source] with Trac.
    2225
    23 == Installation ==
    24 While this is a wiki macro, it is in the new macro format, which is actually a single-file 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.
     26== Installation
    2527
    26  * Copy `emailprocessor.py` into the environment's `plugins` directory
    27  * Add the following to the environment's `trac.ini`
     28While this is a wiki macro, it is in the new macro format, which is actually a single-file 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.
     29
     30 * Copy `emailprocessor.py` into the environment's `plugins` directory.
     31 * Add the following to the environment's `trac.ini` file:
    2832{{{
    2933[components]
    3034emailprocessor.emailmacro = enabled
    3135}}}
    32  * Restart your server
     36 * Restart your web server.
    3337
    34 == Example ==
     38== Example
    3539
    3640Invocation:
     
    4145 }}}
    4246}}}
    43 To wrap to a specified length, the line immediately following the invocation should contain `cols: ` followed by the number of columns at wich we wrap.  For example:
     47
     48To wrap to a specified length, the line immediately following the invocation should contain `cols: ` followed by the number of columns at wich we wrap. For example:
    4449{{{
    4550 {{{
     
    4954 }}}
    5055}}}
     56
    5157It is important that the `cols:` starts at the beginning of the line and that only a number follows it.
    5258
    53 
    54 == Recent Changes ==
     59== Recent Changes
    5560
    5661[[ChangeLog(emailprocessormacro, 3)]]
    5762
    58 == Author/Contributors ==
     63== Author/Contributors
    5964
    6065'''Author:''' [wiki:pacopablo] [[BR]]
    61 '''Maintainer:''' [wiki:pacopablo] [[BR]]
     66'''Maintainer:''' [[Maintainer]] [[BR]]
    6267'''Contributors:'''