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
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ function plugin_syntaxhighlighter_foot() {
echo <<<PRISMBOX
<!-- 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 -->
<script type="text/javascript" src="{$pdir}res/syntaxhighlighter-ng.js"></script>