mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 18:29:36 +03:00
Add documentation for multi-line comments
This commit is contained in:
parent
93128d71b4
commit
cfc1f6b14b
@ -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.
|
- 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]].
|
Transaction and posting comments are displayed by [[#print]], can contain [[#tags]] and can be [[#queries|queried]].
|
||||||
|
|
||||||
Some examples:
|
Some examples:
|
||||||
@ -388,6 +390,14 @@ Some examples:
|
|||||||
# a journal comment
|
# a journal comment
|
||||||
|
|
||||||
; also 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
|
2012/5/14 something ; a transaction comment
|
||||||
; the transaction comment, continued
|
; the transaction comment, continued
|
||||||
posting1 1 ; a comment for posting 1
|
posting1 1 ; a comment for posting 1
|
||||||
|
Loading…
Reference in New Issue
Block a user