Skip to content

Commit

Permalink
;doc:journal:account directive: edits
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Feb 15, 2024
1 parent de8df9f commit 876bbf1
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions hledger/hledger.m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -1753,6 +1753,13 @@ They are written as the word `account` followed by a hledger-style [account name
account assets:bank:checking
```

Ledger-style indented subdirectives are also accepted, but ignored:

```journal
account assets:bank:checking
format subdirective ; currently ignored
```

### Account comments

Text following **two or more spaces** and `;` at the end of an account directive line,
Expand All @@ -1767,15 +1774,6 @@ account assets:bank:checking ; same-line comment, at least 2 spaces before th
; some tags - type:A, acctnum:12345
```

### Account subdirectives

Ledger-style indented subdirectives are also accepted, but currently ignored:

```journal
account assets:bank:checking
format subdirective is ignored
```

### Account error checking

By default, accounts need not be declared; they come into existence when a posting references them.
Expand Down

0 comments on commit 876bbf1

Please sign in to comment.