Repository navigation
json-to-office: documents as data, with docx as the Word renderer #3503
pbWise
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi @dolanmiu, we've been building json-to-office, which compiles a JSON document definition into .docx and .pptx. The idea is that a document should be data you can generate, diff and version, rather than code you write once.
docx is our default Word renderer and does most of the real work: headings, styles, tables, floating images, tracked changes, comments. Credits are in our README. We also set up a monthly sponsorship, since the library has saved us a lot of time.
Easiest way to see it is the hosted playground at docx.json-to-office.com. Nothing to install, and no signup: you get a Monaco editor with schema autocomplete on one side and a live preview of the rendered document on the other, with a set of templates to start from. Everything you see there comes out of docx.
No asks, mostly just wanted you to know where it's running. Glad to contribute upstream when we can.
All reactions