Refactor code to accept liquid variables, add escape js template variables option
Switch var names in generate_image(), fix proportion calc error
Improve preset not found error message
Document Liquid variables and escaping in the readme