Constant MD_MAIN_JS
Source pub const MD_MAIN_JS: &str = "import Reveal from \"reveal.js\";\nimport Markdown from \"reveal.js/plugin/markdown/markdown.esm.js\";\nimport Notes from \"reveal.js/plugin/notes/notes.esm.js\";\nimport Highlight from \"reveal.js/plugin/highlight/highlight.esm.js\";\n\nimport \"reveal.js/plugin/highlight/monokai.css\";\n\n\nimport \"reveal.js/dist/reveal.css\";\nimport \"reveal.js/dist/theme/dracula.css\";\nimport \"highlight.js/styles/base16/dracula.css\";\nimport \"../css/custom.css\";\n\nimport slides from \"../slides/slides.md?raw\";\n\ndocument.addEventListener(\"DOMContentLoaded\", () => {\n const slidesContainer = document.querySelector(\".slides\");\n const section = document.createElement(\"section\");\n section.setAttribute(\"data-markdown\", \"\");\n section.setAttribute(\"data-separator\", \"^\\\\n---\\\\n\");\n section.setAttribute(\"data-separator-vertical\", \"^\\\\n--\\\\n\");\n section.setAttribute(\"data-separator-notes\", \"^Note:\");\n section.setAttribute(\"data-charset\", \"utf-8\");\n section.innerHTML = `<textarea data-template>${slides}</textarea>`;\n slidesContainer.appendChild(section);\n\n const deck = new Reveal({\n hash: true,\n plugins: [Markdown, Notes, Highlight],\n });\n\n deck.initialize();\n\n // DeckTape needs access to window.Reveal for export to work \n window.Reveal = deck\n\n});\n";