From cfc1f6b14b298adf64104008ae87a447b443bb7c Mon Sep 17 00:00:00 2001 From: Gergely Risko Date: Mon, 27 Oct 2014 14:24:10 +0100 Subject: [PATCH] Add documentation for multi-line comments --- doc/MANUAL.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/MANUAL.md b/doc/MANUAL.md index 89b955731..1cef78aad 100644 --- a/doc/MANUAL.md +++ b/doc/MANUAL.md @@ -381,6 +381,8 @@ starts a transaction comment. - A semicolon after a posting's amount and/or indented on the following lines starts a posting comment. +- With the `comment` and `end comment` keywords it is possible to have multiline comments. + Transaction and posting comments are displayed by [[#print]], can contain [[#tags]] and can be [[#queries|queried]]. Some examples: @@ -388,6 +390,14 @@ Some examples: # a journal comment ; also a journal comment + + comment + This is a multiline comment, + which continues until a line + where the "end comment" string + appears on its own. + end comment + 2012/5/14 something ; a transaction comment ; the transaction comment, continued posting1 1 ; a comment for posting 1