Open linuxcaffe opened 8 years ago
Do you mean having Markdown syntax inside Ledger comments, or trying to pretend Ledger journals are parseable as Markdown?
Does ledger
support comment block syntax like hledger
does? Implementing that with syntax embedded highlighting such as can be done with code blocks might be a possibility for this.
I've recently stepped in to help maintain this plugin. I'm open to seeing a contribution for this if somebody wants to implement it, bit will likely not be doing it myself as I don't have a need for it (yet).
Given the link and explicit support as detailed in #54 I think the answer to my question is "yes".
For anybody interested in contributing this, see similar problems faced for example here in nerdcommenter with embedded languages. This proposal is a lot simpler than any arbitrary language in any other, and there are ways of doing this. The plugins mentioned there than do this might be a place to start.
This would ideally be optional, as not everyone uses markdown, and I'm pretty sure there are markdown elements that would conflict with the ledger format, but would it be possible to also associate the .ledger filtetype with markdown?
Where a subset of markdown elements, that match *ledger comments characters, it would be great for folding (like #19) and enhanced comments/ notes etc,
Headers
and maybe much more, if it can fly under the *ledger-comment-character radar.