Figured it out. Added PR to the repo with an example if you’d like it. No hard feelings if you don’t accept it – this is working nicely for me! Thank you!!
I believe I got all the ‘non-local’ stuff out of there. Kept a modified version of getHash
that could likely be cleaned up throughout but it was the easiest way to deal with all the .woff
and .woff2
files. I tossed those all in a assets/
folder when you loop over the the base64 attachments.
Might be cool to have an issues tab on the repo?
I did notice that some of the code blocks and callout blocks are not “exact” when using the Minimal theme and a few extra settings with the Styler plugin (code blocks lose formatting and some subtle padding/margin changes elsewhere).
Also the copy
button in the code blocks is there, but not functional. Likewise, header folding looks like it’s there but not functional.