Skip to content

Note are incompatible with ledger #302

@RyanGibb

Description

@RyanGibb

Adding a comment with NanoLedger creates an entry like:

2025-07-24 Payee | Note
    Account                                  £ Amount
    Account

But doesn't seem to be compatible with ledger's comment syntax. From https://ledger-cli.org/doc/ledger3.html#Commenting-on-your-Journal

Comments are generally started using a ‘;’. However, in order to increase compatibility with other text manipulation programs and methods, four additional comment characters are valid if used at the beginning of a line: ‘#’, ‘|’, and ‘*’ and ‘%’.

E.g.:

2025-07-24 Payee
| Note
    Account                                  £ Amount
    Account

Or (my preference):

2025-07-24 Payee
    ; Note
    Account                                  £ Amount
    Account

As a result Note is considered part of the payee with ledger-mode and the ledger CLI.
This seems to be a bug, unless I'm misunderstanding something and this is intended behaviour?

Thanks for all the work developing this app!

System information

Version 1.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions