grav-plugin-highlight icon indicating copy to clipboard operation
grav-plugin-highlight copied to clipboard

Not working for me

Open FranciscoTrigo opened this issue 8 years ago • 6 comments

I just installed this plugin via gpm, and most of my site is pretty vanilla still(Im using Gantry theme, anyway) And it doesnt really highlight any code, doesnt show any error code or anything. Im trying with the samples provided both here and on Grav's wiki.

It wont work with default Anttimater theme, either. Im not really sure where I can get logs or something so its easier to provide help, but if you tell me I will provide all files necessary for diagnostic. Thanks

FranciscoTrigo avatar Oct 22 '17 06:10 FranciscoTrigo

It really depends on your code snippet. Try a some of the sample code snippets and perhaps a different theme. Also note that you can specifically set the language by putting it after the first set of triple backticks.

rhukster avatar Oct 22 '17 13:10 rhukster

Hello, sorry for taking so long to answer. I tried with the code samples in the documentation, and I did set the language. But the biggest giveaway that it is not working is that even if I set it to number the lines it wont number them.

FranciscoTrigo avatar Oct 28 '17 08:10 FranciscoTrigo

Are you running the latest version of Highlight plugin? A release with line numbers was added last week.

rhukster avatar Oct 28 '17 14:10 rhukster

I just updated to 1.3.2 and still not working.

FranciscoTrigo avatar Oct 28 '17 23:10 FranciscoTrigo

What is your code sample and how are you displaying that code block?

rhukster avatar Oct 29 '17 04:10 rhukster

I don't mean to wake-up an old thread, but seeing as it's still open...

This plugin was working for me, but it stopped working while I was playing around with things and I can't get it to work again. :/

AHH, your plugin seems to conflict with Diagrams! Enabling Diagrams makes your plugin stop working. Any idea how to fix that?

leetNightshade avatar Jun 29 '18 02:06 leetNightshade