Hacker News new | past | comments | ask | show | jobs | submit login

I wrote an editor (based on the aforementioned architecture diagram) that makes the integration of interpolated variables much simpler than what the blog describes:

https://github.com/DaveJarvis/scrivenvar/

Here's the money shot:

https://raw.githubusercontent.com/DaveJarvis/scrivenvar/mast...

Variables are visible on the leftmost panel. You can insert a variable by typing in any partial value followed by pressing Ctrl+Space (two steps instead of over a dozen). The editor inserts the variable name and the preview panel updates accordingly.

That definitely isn't clear from the blog post, though.

Aside, can Word perform string interpolation on variables?




I've used a mishmash of Liquid/Jekyll and Pandoc to achieve this in the past - but this approach looks nice, thanks for sharing.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: