From 3ef11037b2e9c6a262176ee2d3d8b38f663f6257 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 1 May 2018 10:50:38 -0700 Subject: [PATCH] doc: journal: directives [ci skip] --- hledger-lib/hledger_journal.m4.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hledger-lib/hledger_journal.m4.md b/hledger-lib/hledger_journal.m4.md index e43885e1c..5380c1126 100644 --- a/hledger-lib/hledger_journal.m4.md +++ b/hledger-lib/hledger_journal.m4.md @@ -640,6 +640,15 @@ feature, except hledger's tag values are simple strings. ## Directives +A directive is a line in the journal beginning with a special keyword, +that influences how the journal is processed. +Some directives may also have indented sub-directives on the following lines. + +Some directives are positional - they affect all the journal entries that follow them +(usually till the end of the current file, and also any files included in that region). +Some directives form a begin/end pair, and affect the enclosed region of the journal. +Others are position independent and affect the whole journal no matter where they occur. + ### Comment blocks A line containing just `comment` starts a commented region of the file,