Hi!
It will be great if there will be ability to define custom variables for the template. On example, I want to create first page of generated pdf as title page where I define title of document, authors, creation/modification date, etc.
It can be done thru adding action inputs parameter where .json file with template variables defined.
And then (just quick mockup):
let jsonData = require(path_to_user_variables.json);
Hi! It will be great if there will be ability to define custom variables for the template. On example, I want to create first page of generated pdf as title page where I define title of document, authors, creation/modification date, etc.
It can be done thru adding action inputs parameter where .json file with template variables defined.
And then (just quick mockup):
And for: https://github.com/BaileyJM02/markdown-to-pdf/blob/1be26775add5f94fb55d4a2ce36ff7cad23b8dd0/src/markdown-to-pdf.js#L210
Change to:
In template: