[pmwiki-users] highlight.js problems

Johan Bengtsson elijah at chalmers.se
Wed Nov 13 06:47:54 PST 2019


On Wed, 13 Nov 2019, Petko Yotov wrote:

> You need to wrap your code in the [@...code...@] escape sequence, or precede 
> every line with one or more spaces.
>
> The page mentioned that highlighting works for preformatted blocks, but not 
> prominently enough. I've added cross-links to and from 
> BasicEditing#preformatted :
>
>  https://www.pmwiki.org/wiki/PmWiki/BasicEditing#preformatted

Ahhh, ok now I understand!

>> which worked with the same limitations as described above. But I also tried
>> switching to someting different than "default.min.css" (from
>> https://github.com/highlightjs/highlight.js/blob/master/src/styles/)
>> but that seemed to have no effect.

This problem was simply because I had failed to download the css files 
properly <sigh>...so all problems solved.

-Johan Bengtsson


----
Systemadministratör - Chalmers IT-avdelning
Tel: 6734  https://www.chalmers.se/its


More information about the pmwiki-users mailing list