Closed julienw closed 7 months ago
Any URL to see it?
You can see in https://everlong.org/blog/index.php/post/2015/07/Mes-probl%C3%A8mes-de-suspend
The part that should be syntax highlighted is the block right after Puis j'ai édité /usr/local/bin/disable-xhc-wakeup avec ce contenu:
.
Thanks again
^^^ again a user problem...
but I'm surprised that the macros are registered when it's unchecked :-) (macros from https://github.com/franck-paul/hljs/blob/main/src/CoreBehaviors.php#L23-L39)
I will verify this issue (registered macro).
My last test:
With the following source (wiki syntax):
HLJS native:
///hljs bash
#!/bin/sh
if grep -q XHC.*enabled /proc/acpi/wakeup ; then
echo XHC > /proc/acpi/wakeup
fi
///
YASH compatiblity:
///yash bash
#!/bin/sh
if grep -q XHC.*enabled /proc/acpi/wakeup ; then
echo XHC > /proc/acpi/wakeup
fi
///
SyntaxeHL compatibility:
///[bash]
#!/bin/sh
if grep -q XHC.*enabled /proc/acpi/wakeup ; then
echo XHC > /proc/acpi/wakeup
fi
///
Code compatibility:
///code bash
#!/bin/sh
if grep -q XHC.*enabled /proc/acpi/wakeup ; then
echo XHC > /proc/acpi/wakeup
fi
///
Hi, it's me again :-)
It looks like the highlight.js file isn't loaded in my installation. As a result there's no syntax highlighting. I also see no error in the Web Console. Is there anything I'm missing? Something to configure elsewhere? In case it's useful, I'm using the ductile theme.
Thanks Franck