Yes, it is possible. We are using Handlebars.js for templating internally. If you encounter any issues, please let us know by clicking the chat icon on our website.
Oh and do you have the ability to conditionally render components in the template based on values from the API request? ie if a given string is empty then conditionally remove that section from the template for that render
Q: Are there a template Library?
Or are templates something we're creating ourselves?
Yes, we have a public template library, and in most cases, youâll need to write your own template. However, if you like one of the built-in templates, you can copy it to your project.
Please check the template library by clicking the âExample Templatesâ button at the top right corner.
As long as you provide the HTML with the links, our API will convert it to a PDF including them. However, our API does not support manipulating the PDF directlyâyou would need to handle that before sending it to us.
For conditional rendering, we use handlebars.js for templating. This allows you to conditionally render parts of the HTML based on the data you provide.
Q: Rendering Charts
Do you have an ability to render charts/graphs using the templates? I guess I can use charts.js as a js library right?
markupgo
Nov 18, 2024A: Hi ilan22 đ,
Yes, it is possible. We are using Handlebars.js for templating internally. If you encounter any issues, please let us know by clicking the chat icon on our website.
Share MarkupGo
Oh and do you have the ability to conditionally render components in the template based on values from the API request? ie if a given string is empty then conditionally remove that section from the template for that render
Q: Are there a template Library?
Or are templates something we're creating ourselves?
markupgo
Edited Nov 15, 2024A: Hi MyLTD,
Yes, we have a public template library, and in most cases, youâll need to write your own template. However, if you like one of the built-in templates, you can copy it to your project.
Please check the template library by clicking the âExample Templatesâ button at the top right corner.
https://markupgo.com/editor
Share MarkupGo
Q: paramatered urls
hello, can the api be used as a parametered url to replace text inside the image and render a new image ?
markupgo
Nov 13, 2024A: Hi excel,
If you have a template for the image, yes, it is possible. You can do it in two ways: with an API call or magic URLs.
Please check our documentation and blog post for both options:
https://markupgo.com/docs/magic-template-url#usage
https://markupgo.com/blog/reusable-templates
If you need further assistance, feel free to chat with us on our website. Just click the button at the...
Share MarkupGo
Q: can i upload a pdf to be used as a template
markupgo
Nov 6, 2024A: Hi there,
Unfortunately this is not possible. đ
Share MarkupGo
Q: Link in PDFs
Hi! Two questions.
1) Can I create PDFs with links in the document that will send you to a specific page within the same PDF?
2) Can I add/exclude certain PDF elements/sections/pages based on specific conditions using the API?
Thanks!
markupgo
Nov 4, 2024A: Hi LOJ!
As long as you provide the HTML with the links, our API will convert it to a PDF including them. However, our API does not support manipulating the PDF directlyâyou would need to handle that before sending it to us.
For conditional rendering, we use handlebars.js for templating. This allows you to conditionally render parts of the HTML based on the data you provide.
If you have any...
Share MarkupGo