From 33170c0b9bb8912e62c3bddd6992ecc9c00d58f8 Mon Sep 17 00:00:00 2001 From: PhilW Date: Sun, 23 Mar 2014 10:29:43 +0000 Subject: [PATCH 1/2] tidy up markdown in readme --- README.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c4d5f5b..d4715a0 100644 --- a/README.md +++ b/README.md @@ -205,12 +205,21 @@ parser or an array, similar to the one created by the SieveRules parser. The structure of the rule file ------------------------------ By default this plugin uses \r\n to seperate lines (RFC 5228) if you want to -use \n instead then set ```php define('RCUBE_SIEVE_NEWLINE', "\n");``` in your -config. Add ```php define('RCUBE_SIEVE_INDENT', "\t");``` to change the tab -character. By default this plugin places a simple comment at the top of the -rule file to show it was generated by the plugin. This header can be overridden -by setting ```php define('RCUBE_SIEVE_HEADER', "## Generated by Roundcube -Webmail SieveRules Plugin ##");``` in your config. +use \n instead then set +```php +define('RCUBE_SIEVE_NEWLINE', "\n"); +``` in your config. Add +```php +define('RCUBE_SIEVE_INDENT', "\t"); +``` +to change the indent character. By default this plugin places a simple comment +at the top of the rule file to show it was generated by the plugin. This header +can be overridden by setting +```php +define('RCUBE_SIEVE_HEADER', "## Generated by Roundcube Webmail SieveRules +Plugin ##"); +``` +in your config. sieverules_connect hook ----------------------- From d849747a06ccaea4c19f9a233102914815b41268 Mon Sep 17 00:00:00 2001 From: PhilW Date: Sun, 23 Mar 2014 10:32:58 +0000 Subject: [PATCH 2/2] and again... --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d4715a0..d73f60f 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,8 @@ By default this plugin uses \r\n to seperate lines (RFC 5228) if you want to use \n instead then set ```php define('RCUBE_SIEVE_NEWLINE', "\n"); -``` in your config. Add +``` +in your config. Add ```php define('RCUBE_SIEVE_INDENT', "\t"); ``` @@ -216,8 +217,7 @@ to change the indent character. By default this plugin places a simple comment at the top of the rule file to show it was generated by the plugin. This header can be overridden by setting ```php -define('RCUBE_SIEVE_HEADER', "## Generated by Roundcube Webmail SieveRules -Plugin ##"); +define('RCUBE_SIEVE_HEADER', "## Generated by Roundcube SieveRules ##"); ``` in your config.