Fill Word templates from code, by tag, in TypeScript or C#
Bind data to a Word template through content controls (w:sdt): find a control by tag, set its text or checkbox, or replace a whole region with a generated document. The result stays a real .docx that round-trips.