From 5670dabf1b329096852fb1d0f0568e63a9951374 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 17 Sep 2011 06:46:47 +0000 Subject: [PATCH] docs: describe metadata/tags --- MANUAL.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/MANUAL.md b/MANUAL.md index f9fda8168..9055e83e9 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -261,6 +261,24 @@ Example: $ hledger register checking --effective 2010/02/19 movie ticket assets:checking $-10 $-10 +### Metadata + +Extra metadata (a keyword and value) or tags (just keywords) may be +attached to transactions and postings by inserting one or more comment +lines containing KEY:[VALUE]. In the example below, the transaction has a +`purpose` tag with value "`research`", and the expenses:cinema posting has +the `fun` and `outing` tags. + + 1/1 movie ticket + ; purpose: research + expenses:cinema $10 + ; fun: + ; outing: + assets:checking + +hledger does not yet allow querying on these fields; they are parsed for +compatibility with ledger, but ignored. + ### Default commodity You can set a default commodity or currency with a D directive. This will