Hi! I'd love to reopen this conversation. I think an easy way to go is to provide a way to set up the displaycontext when we write an Importer.
Any thoughts? Thanks! On Tuesday, February 25, 2020 at 2:07:51 AM UTC-8 tbm13 wrote: > New issue 422: Allow importers to specify formatting of postings > > https://bitbucket.org/blais/beancount/issues/422/allow-importers-to-specify-formatting-of > > Martin Michlmayr: > > By default, bean-extract generates transactions like this: > > ``` > 2019-12-07 * "Anonymous" "Donation" > Assets:Receivable 100.00 USD > Income:Donations -100.00 USD > ``` > > I know I can just pipe it into bean-format but I’m wondering if it would > be possible to allow importers to format the postings, including spacing > and amounts? \(I know I can do amounts by just rounding to the precision I > want\). > > In any ideal world, this would be per-posting? I like to align different > postings with different spacing depending on their nature. > > Good idea? Bad idea? Maybe I should just pipe the output to a script that > formats it \(that’s actually what I do now\) > > > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/12633e0c-af59-434b-80e4-c34ad9c92789n%40googlegroups.com.