You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes there is a need to transform HTML just before generating the output in md-to-pdf, i.e. we need to convert images to Base64, sanitize links, add PagedJS, add some JavaScript.
Solution:
We achieved it by modifying a part of code in md-to-pdf like this:
Problem:
Sometimes there is a need to transform HTML just before generating the output in md-to-pdf, i.e. we need to convert images to Base64, sanitize links, add PagedJS, add some JavaScript.
Solution:
We achieved it by modifying a part of code in md-to-pdf like this:
Where transform_html is a custom function, i.e.:
The text was updated successfully, but these errors were encountered: