pretty-tables
Installation
SKILL.md
pretty-tables
Create beautiful tables in Word documents that work consistently across Word and Google Docs.
⚠️ THE 5 CRITICAL RULES
After extensive testing, these are the essential patterns for tables that render correctly everywhere:
1. Dual-Width Sizing (MOST CRITICAL)
Every table needs widths set in TWO places — on the table itself AND on each individual cell:
// Table level
new Table({
width: { size: 9360, type: WidthType.DXA }, // Total width
columnWidths: [1872, 7488], // Per-column widths
rows: [...]
})