getgrav / grav-plugin-highlight

Grav Highlight Plugin
https://getgrav.org
MIT License
29 stars 11 forks source link

Not working for me #13

Open FranciscoTrigo opened 6 years ago

FranciscoTrigo commented 6 years ago

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

rhukster commented 6 years ago

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.

FranciscoTrigo commented 6 years ago

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.

rhukster commented 6 years ago

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

FranciscoTrigo commented 6 years ago

I just updated to 1.3.2 and still not working.

rhukster commented 6 years ago

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

leetNightshade commented 6 years ago

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?