You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a wish. Could be possible to embed journal to text document? When such document is processed by hledger, only hledger section will be processed.
Current hledger journal can use comments and mark part of text in journal file to be ignored by hledger.
I think that opposite way could be useful too. Have a text file and mark sections those should be processed by hledger. I assume new directive should be added, something similar to comment and end comment. When hledger will be started with some new parameter, it will ignore text until it finds instruction, that next text/block is journal and it will process it. Several such blocks could be in a single file, in similar way like comment and end comment blocks can be in journal...
I can do something like this with current comment and end comment but I think that something similar can be useful for case where journal data are just a small part of text file, like some diary, or notes describing an investment.
The text was updated successfully, but these errors were encountered:
PSLLSP
added
the
A-WISH
Some kind of improvement request, hare-brained proposal, or plea.
label
Sep 23, 2023
I was thinking about this recently. I agree it sounds interesting to have more support for interleaved documentation and journal data, for "literate accounting", something like literate Haskell. I haven't got a clearly valuable, concrete use case in mind yet - do you have one ? Maybe we can collect some workflows to try it out using non-hledger text-munging tools.
This is a wish. Could be possible to embed journal to text document? When such document is processed by
hledger
, only hledger section will be processed.Current hledger journal can use comments and mark part of text in journal file to be ignored by
hledger
.I think that opposite way could be useful too. Have a text file and mark sections those should be processed by
hledger
. I assume new directive should be added, something similar tocomment
andend comment
. Whenhledger
will be started with some new parameter, it will ignore text until it finds instruction, that next text/block is journal and it will process it. Several such blocks could be in a single file, in similar way likecomment
andend comment
blocks can be in journal...I can do something like this with current
comment
andend comment
but I think that something similar can be useful for case where journal data are just a small part of text file, like some diary, or notes describing an investment.The text was updated successfully, but these errors were encountered: