LeaVerou / md-block

A custom element for rendering stylable (light DOM) Markdown
https://md-block.verou.me
MIT License
322 stars 17 forks source link

repeatString is not exported from helpers.js (any more, and marked was somehow out of sync...?) #17

Open dscotese opened 1 year ago

dscotese commented 1 year ago

I solved this by hardcoding the version of marked to 5.0.3 in a copy of it that I added to my server. Line 11 of md-block.js now reads: marked: "https://cdn.jsdelivr.net/npm/marked@5.0.3/src/marked.min.js",

dscotese commented 1 year ago

I did CTRL-F5 my browser page to try to fix the error but that didn't work and I don't understand why it didn't work. My best guess is that there is an extra layer of caching somewhere in the way Brave handles imported Javascript files.