**powertom v0.4.0** - A TOML-driven PowerPoint templating gem for Ruby
powertom v0.4.0 - A TOML-driven PowerPoint templating gem for Ruby
I built powertom because automating PowerPoint generation in Ruby often meant writing layout code or wrestling with low-level OOXML. powertom flips the workflow: designers build the PPTX template, and developers bind data using a clean, TOML-based syntax.
In v0.4.0, the big highlight is native Chart Binding. You can now name a chart shape as powertom:chart:<field> and pass data (categories, series, number_format) directly from TOML. It handles series add/remove, formatting inheritance, and even regenerates the embedded workbook. For cloned pages, each chart gets a deep copy so data never overwrites each other.
Also new:
- OOXML structural lint (L1): Catches defects (like dangling Content_Types) that PowerPoint silently repairs, so your generated files are always clean in CI.
- powertom:check: Validates your TOML data against the template before rendering, including chart field reconciliation.
No eval, no heavy dependencies for basic use, and a clear separation between template design and data binding.
GitHub: https://github.com/ixepet/powertom Docs: [Link to your README or a dedicated blog post]
Post a comment