From 7b0046756dccabac0346e637515d4939a3de3da6 Mon Sep 17 00:00:00 2001 From: mms Date: Tue, 12 Nov 2024 23:39:40 +0100 Subject: doc: fix snippet style --- README.html | 49 +++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 24 deletions(-) (limited to 'README.html') diff --git a/README.html b/README.html index f037bc6..57eb60b 100644 --- a/README.html +++ b/README.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + Chotto @@ -201,12 +201,12 @@

Table of Contents

@@ -222,8 +222,8 @@ Chotto is an initial tagging script for Notmuch Chotto is written in Ruby and had a (quite) nice DSL for configuration.

-
-

1. Naming & Afew

+
+

1. Naming & Afew

Notmuch ecosystem already has a great script for initial tagging - afew. @@ -238,8 +238,8 @@ And because I love Ruby!

-
-

2. Prerequisites

+
+

2. Prerequisites

Chotto expects: @@ -273,8 +273,8 @@ If you use Windows, you have my sympathy.

-
-

3. Configuration

+
+

3. Configuration

Chotto expects the configuration file to be present in @@ -290,18 +290,19 @@ The user needs to add (at least) two blocks to the file: config & rule sets

-
-

4. Config

+
+

4. Config

Presently, the only option Config expects is the absolute path to the Notmuch database:

-

-Chotto.configure do - config.databasepath = /home/<user>/mail +

+
Chotto.configure do
+  config.database_path = =/home/<user>/mail=
 end
-

+
+

Please, adjust the path to the valid location @@ -309,8 +310,8 @@ Please, adjust the path to the valid location

-
-

5. Rule sets

+
+

5. Rule sets

The actual magic happens in Rule Sets which are sets of filters & tag modifications. @@ -356,8 +357,8 @@ Lastly, we save! the message in the database.

-
-

6. Filter language

+
+

6. Filter language

We can quite easily filter messages based. Chotto accepts filters as: @@ -413,7 +414,7 @@ You can test what is produced by calling #to_query_string on messag

Author: User Mms

-

Created: 2024-11-12 Tue 23:15

+

Created: 2024-11-12 Tue 23:39

Validate

-- cgit v1.2.3