Hi Petko,

is there any reason for using version 9.15.10 with PmWiki?

https://highlightjs.org/ notes 9.16.2 as the latest version.

At https://highlightjs.org/download/ there also is a different CDN.

For my setup (with Delphi, DOS .BAT, x86 assembler) this works:

$EnableHighlight = 1;
$HTMLHeaderFmt['Highlight'] = '
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.16.2/build/styles/default.min.css";
/>
<script
src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.16.2/build/highlight.min.js";></script>
<script
src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.16.2/build/languages/delphi.min.js";></script>
<script
src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.16.2/build/languages/dos.min.js";></script>
<script
src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.16.2/build/languages/x86asm.min.js";></script>';

Cheers,
Robert
-- 
              +++ BTTR Software +++
     Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to