clerk/journal/testdata/journals/subdirectives.journal (view raw)
Oleksandr Smirnov
Oleksandr Smirnov
olexsmir@gmail.com add support of subdirectives and it's highlights, 1 month ago
olexsmir@gmail.com add support of subdirectives and it's highlights, 1 month ago
| 1 | ; subdirectives coverage |
| 2 | ; |
| 3 | ; account directive blocks: alias/type/note subdirectives and comment lines; |
| 4 | ; commodity directive blocks: format subdirectives (inline and block forms) |
| 5 | ; and comment lines |
| 6 | |
| 7 | commodity $ |
| 8 | commodity $0.00 |
| 9 | commodity EUR |
| 10 | format EUR 1.000,00 |
| 11 | commodity UAH |
| 12 | format 1 000.00 UAH ; hryvnia display format |
| 13 | ; block comment inside a commodity block |
| 14 | commodity 1,000.00 USD |
| 15 | |
| 16 | account assets:bank |
| 17 | alias bank |
| 18 | account assets:checking |
| 19 | type C |
| 20 | alias checking ; main checking account |
| 21 | ; used for daily expenses |
| 22 | note main checking account |
| 23 | account equity:opening |
| 24 | account expenses:food |
| 25 | alias food |
| 26 | alias groceries ; second alias for the same account |
| 27 | |
| 28 | 2024-01-01 Opening balances |
| 29 | assets:bank $1000.00 |
| 30 | assets:checking €200.00 |
| 31 | equity:opening |
| 32 | |
| 33 | 2024-01-02 Grocery store |
| 34 | expenses:food 50.00 UAH |
| 35 | assets:checking |