Hello guys, I am still thinking how to highlight this buttom. I found almost none of the users have used it... They dont know how to edit the their thread.. sad Every time if the post is not well-arranged, I need to edit them by myself..
alt text
Good morning community,
I'm running nodeBB 1.9.3 and I can't succeed in getting code snippet syntax highlighting in my instance.
As you can see below using ```ruby
on the code snippet "opening" works fine. On my instance instead highlighting doesn't seem to work at all. What could be the cause? Where can i look into?
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
This is how my code highlighting box looks like:
Cheers, KK
No ideas community? No hints on what could be the cause and eventually what to check?
cheers, KK
Hi @baris, thanks so much.
I didn't checked it out since I thought it was only enabling automatic syntax detection and not highlighting, but after checking it I got highlighting out of the box for free
Cheers, KK