I have seen a script that allow mustache styled markup in a docx to be populated from code I cannot find such again. Does anyone know of such a script.
Asked
Active
Viewed 1,597 times
1
-
https://github.com/edi9999/docxgenjs – Daniel Powell Sep 15 '13 at 22:40
-
1https://github.com/wrklst/docxmustache does this in a php class with actual mustache syntax (implements the official php mustache class) – tromtv Jun 01 '17 at 18:04
1 Answers
0
Yep, docxgenjs does exactly that (I'm it's creator).
Here's a simple demo working on Chrome and Firefox: http://javascript-ninja.fr/docxgenjs/examples/demo.html
You can use it client-side on new browsers (not IE, sadly), or on server-side with node: https://github.com/edi9999/docxgenjs#node-installation-and-usage

edi9999
- 19,701
- 13
- 88
- 127