hledger icon indicating copy to clipboard operation
hledger copied to clipboard

Register export to HTML and FODS

Open thielema opened this issue 1 year ago • 2 comments

Unified export to CSV, HTML, FODS via Write.Spreadsheet.

Supports --base-url and hyperlinks to hledger-web. I intended to hyperlink from txnidx to hledger-web/journal page, however, this would require to move Web.Widget.Common.transactionFragment to hledger package. It's not super important for now.

thielema avatar Oct 17 '24 21:10 thielema

Great!

Is Hledger.Cli.Anchor not used yet ? Should we leave it out ?

simonmichael avatar Oct 18 '24 04:10 simonmichael

We can update the table at https://hledger.org/dev/hledger.html#output-format too.

simonmichael avatar Oct 18 '24 04:10 simonmichael

On Thu, 17 Oct 2024, Simon Michael wrote:

Is Hledger.Cli.Anchor not used yet ? Should we leave it out ?

It is used by Commands.Balance and Commands.Register.

There might be a better place and name for the module, though. What do you think?

thielema avatar Oct 18 '24 07:10 thielema

I guess it's fine for now, unless you think it could just be added to Hledger.Cli.Utils.

I'll merge this when you're ready.

simonmichael avatar Oct 18 '24 08:10 simonmichael

On Fri, 18 Oct 2024, Simon Michael wrote:

I guess it's fine for now, unless you think it could just be added to Hledger.Cli.Utils.

I think a separate module is justified.

I'll merge this when you're ready.

yes please, I am ready

thielema avatar Oct 18 '24 09:10 thielema

Thank you!

simonmichael avatar Oct 18 '24 10:10 simonmichael