;doc:Account names: edits

This commit is contained in:
Simon Michael 2025-09-22 10:46:07 -10:00
parent cfcdd47549
commit 84dfaa2c97

View File

@ -1452,12 +1452,12 @@ follows an account name, they must be preceded by two or more spaces,
else they would be considered part of the account name:
```
bad: assets:accounts receivable $10 ; <- too close!
bad: assets:accounts receivable $10 ; <- too close!
good: assets:accounts receivable $10
```
<!-- -->
```
bad: assets:accounts receivable =$1000 ; <- too close!
bad: assets:accounts receivable =$1000 ; <- too close!
good: assets:accounts receivable =$1000
```
<!-- -->
@ -1469,7 +1469,8 @@ good: assets:accounts receivable ; comment
This two-space delimiter appears in a few places in hledger:
eg in postings, in account directives, and in period expressions.
When starting out it's easy to forget - expect it to catch you out at least once.
It's annoying sometimes, but it lets us use expressive account names while keeping the syntax light.
It's annoying sometimes, but it lets us use expressive account names
while still keeping the syntax light.
### Account hierarchy