md-block icon indicating copy to clipboard operation
md-block copied to clipboard

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

Open dscotese opened this issue 1 year ago • 1 comments

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/[email protected]/src/marked.min.js",

dscotese avatar May 31 '23 16:05 dscotese

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.

dscotese avatar May 31 '23 16:05 dscotese