[-] Mike1576218@lemmy.ml 1 points 1 week ago

I write business letters in HTML. I have a custom letter.css and a base letter.html+.js that loads individual letters into a template. I have some custom tags for date, address and similar. The individual docs are super clean. I can export compiled html files with embedded css (no js needed) and images that render perfectly and are even smaller then the pdfs I export (print) and those are small too.

Two downsides. The biggest problem, I didn't find a way to do proper multi page docs. And especially Firefox has limited print css support.

Second: everything is crudely hacked together and in no way usable by others...

maybe chatgpt can rewrite the code better, so I can publish it?

view more: ‹ prev next ›

Mike1576218

joined 4 months ago