aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-08-18 09:10:24 -0500
committerRobin Jarry <robin@jarry.cc>2023-08-24 14:14:44 +0200
commit17f0397570223833c3830690e8a19f14884d3a1f (patch)
treed1a83fdaf10b9e77795bb0b54ce04c1952b83252
parentf6e3a21db5c307dc3efdf3f30abe2e26246266e9 (diff)
downloadaerc-17f0397570223833c3830690e8a19f14884d3a1f.tar.gz
aerc-17f0397570223833c3830690e8a19f14884d3a1f.zip
doc: add MessageId to aerc-templates.7
{{.MessageId}} is available within templates but undocumented. Previously, users could have surmised a way to get the message ID using {{.Header "message-id"}}, but since this is built into the struct already, document it for ease of use. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
-rw-r--r--doc/aerc-templates.7.scd6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
index 33227c5f..59a3a067 100644
--- a/doc/aerc-templates.7.scd
+++ b/doc/aerc-templates.7.scd
@@ -150,6 +150,12 @@ available always.
```
{{.OriginalHeader "x-foo-bar"}}
```
+*Message-ID*
+ The message-ID of the message.
+
+ ```
+ :term b4 am {{.MessageId}}
+ ```
*MIME Type*
MIME Type is available for quoted reply and forward.