diff --git a/plugin/markdown/markdown.esm.js b/plugin/markdown/markdown.esm.js index e762a2d8..c9fcf9f7 100644 --- a/plugin/markdown/markdown.esm.js +++ b/plugin/markdown/markdown.esm.js @@ -4,4 +4,4 @@ function e(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,h * markdown inside of presentations as well as loading * of external markdown documents. */ -const D="__SCRIPT_END__",P=/\[([\s\d,|-]*)\]/,M={"&":"&","<":"<",">":">",'"':""","'":"'"};export default()=>{let e;function t(e){var t=(e.querySelector("[data-template]")||e.querySelector("script")||e).textContent,n=(t=t.replace(new RegExp(D,"g"),"<\/script>")).match(/^\n?(\s*)/)[1].length,r=t.match(/^\n?(\t*)/)[1].length;return r>0?t=t.replace(new RegExp("\\n?\\t{"+r+"}","g"),"\n"):n>1&&(t=t.replace(new RegExp("\\n? {"+n+"}","g"),"\n")),t}function n(e){for(var t=e.attributes,n=[],r=0,s=t.length;r'+N(n[1].trim())+""),'