Skip to content

Commit f706bd2

Browse files
committed
;doc:Special tags: edits
1 parent d65114f commit f706bd2

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

hledger/hledger.m4.md

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,23 +1629,29 @@ There's not much harm in using them yourself, but some could produce an error me
16291629
They are explained elsewhere, but here is a quick list for reference:
16301630

16311631
<!-- keep synced with JournalChecks.hs -->
1632+
Tags you can set to influence hledger's behaviour:
16321633
```
1633-
date -- overrides a posting's date
1634-
date2 -- overrides a posting's secondary date
1635-
type -- declares an account's type
1636-
t -- appears on postings generated by timedot letters
1637-
assert -- appears on txns generated by close --assert
1638-
retain -- appears on txns generated by close --retain
1639-
start -- appears on txns generated by close --migrate/--close/--open/--assign
1640-
generated-transaction -- with --verbose-tags, appears on generated periodic txns
1641-
generated-posting -- with --verbose-tags, appears on generated auto postings
1642-
modified -- with --verbose-tags, appears on txns which have had auto postings added
1643-
1644-
Hidden tags used internally (and queryable):
1645-
_generated-transaction -- always exists on generated periodic txns
1646-
_generated-posting -- always exists on generated auto postings
1647-
_modified -- always exists on txns which have had auto postings added
1648-
_conversion-matched -- exists on postings which have been matched with a nearby @/@@ cost notation
1634+
date -- overrides a posting's date
1635+
date2 -- overrides a posting's secondary date
1636+
type -- declares an account's type
1637+
```
1638+
Tags hledger adds to indicate generated data:
1639+
```
1640+
t -- appears on postings generated by timedot letters
1641+
assert -- appears on txns generated by close --assert
1642+
retain -- appears on txns generated by close --retain
1643+
start -- appears on txns generated by close --migrate/--close/--open/--assign
1644+
generated-transaction -- appears on generated periodic txns (with --verbose-tags)
1645+
generated-posting -- appears on generated auto postings (with --verbose-tags)
1646+
modified -- appears on txns which have had auto postings added (with --verbose-tags)
1647+
Not displayed, but queryable:
1648+
_generated-transaction -- exists on generated periodic txns (always)
1649+
_generated-posting -- exists on generated auto postings (always)
1650+
_modified -- exists on txns which have had auto postings added (always)
1651+
```
1652+
Tags hledger uses internally:
1653+
```
1654+
_conversion-matched -- exists on postings which have been matched with a nearby @/@@ cost annotation
16491655
```
16501656

16511657
### Tag values

0 commit comments

Comments
 (0)