Commit e873f663 authored by 박민석's avatar 박민석

marked.min.js test

parent bf8c99d8
Pipeline #21850 passed with stages
in 4 minutes and 22 seconds
......@@ -10,14 +10,6 @@
if (window.location.protocol === 'file:') {
chatButton.style.display = 'none' // 오프라인 상태면 chatButton 숨김
menu.style.display = 'none'
} else {
import('https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js')
.then((module) => {
window.marked = module.marked
})
.catch((error) => {
console.error('Failed to load Marked.js:', error)
})
}
}
......
This diff is collapsed.
<script id="site-script" src="{{{uiRootPath}}}/js/site.js" data-ui-root-path="{{{uiRootPath}}}" type="module"></script>
{{!-- <script async src="{{{uiRootPath}}}/js/vendor/marked.js"></script> --}}
<script async src="{{{uiRootPath}}}/js/vendor/marked.min.js"></script>
<script async src="{{{uiRootPath}}}/js/vendor/highlight.js"></script>
{{#if env.SITE_SEARCH_PROVIDER}}
{{> search-scripts}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment