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
I need to carry some metadata – which could amount to just an ID – from the source HTML, through to the PDF using WeasyPrint, eventually ending up somehow addressable in the HTML rendered by pdf.js (more specifically, react-pdf).
So, for example, if I have this element in my source HTML:
I would like to be able to see that id when rendered in the browser.
It could be any element really: I imagined a data-id would do the trick. I saw this issue and the corresponding solution which comes close to what I need, perhaps I could fork it?
The text was updated successfully, but these errors were encountered:
I need to carry some metadata – which could amount to just an ID – from the source HTML, through to the PDF using WeasyPrint, eventually ending up somehow addressable in the HTML rendered by
pdf.js
(more specifically,react-pdf
).So, for example, if I have this element in my source HTML:
I would like to be able to see that
id
when rendered in the browser.It could be any element really: I imagined a
data-id
would do the trick. I saw this issue and the corresponding solution which comes close to what I need, perhaps I could fork it?The text was updated successfully, but these errors were encountered: