Closed halloleo closed 4 months ago
I have a local copy of marked.min.js (and its dependencies TextRenderer.js, Slugger.js, etc...), plus I load md-block locally as well:
marked.min.js
TextRenderer.js
Slugger.js
<script type="module" src="scripts/md-block.js"></script>
How can I now tell md-block to use the local script/marked.min.js and not the CDN https://cdn.jsdelivr.net/npm/marked/src/marked.min.js?
script/marked.min.js
https://cdn.jsdelivr.net/npm/marked/src/marked.min.js
Check the Using different URLs for marked and DOMPurify section in the README.
I have a local copy of
marked.min.js
(and its dependenciesTextRenderer.js
,Slugger.js
, etc...), plus I load md-block locally as well:How can I now tell md-block to use the local
script/marked.min.js
and not the CDNhttps://cdn.jsdelivr.net/npm/marked/src/marked.min.js
?