[pmwiki-users] highlight.js version?

Robert Riebisch rr at bttr-software.de
Thu Nov 21 13:22:37 PST 2019


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/



More information about the pmwiki-users mailing list