made prism.small.js the standard - 560k is ridiculus too large for a standard. users should switch to prism.full.js when they need more languages

This commit is contained in:
Marcus 2023-06-21 23:25:46 +02:00
parent ce922b1349
commit a94d1cabf7

View file

@ -70,7 +70,7 @@ function plugin_syntaxhighlighter_foot() {
echo <<<PRISMBOX echo <<<PRISMBOX
<!-- start of prism.js footer --> <!-- start of prism.js footer -->
<script type="text/javascript" src="{$pdir}res/prism.full.js"></script> <script type="text/javascript" src="{$pdir}res/prism.small.js"></script>
<!-- include wrapping-function to wrap content of pre html-tags into code-tags, as said in https://prismjs.com/index.html#basic-usage --> <!-- include wrapping-function to wrap content of pre html-tags into code-tags, as said in https://prismjs.com/index.html#basic-usage -->
<script type="text/javascript" src="{$pdir}res/syntaxhighlighter-ng.js"></script> <script type="text/javascript" src="{$pdir}res/syntaxhighlighter-ng.js"></script>