Closed Krakozaber closed 9 years ago
I just checked on four redmine instances and it works great, You need to provide more information about Your instance (version, installed plugins, etc.)
Redmine 3.0.3
plugins: redmine_xapian, redmine_checklist, redmine_ldap_sync
Install: copy redmine_highlightjs -> ./redmine/plugins /var/lib/gems/1.9.1/bin/bundle install --without development test && rake1.9.1 redmine:plugins:migrate RAILS_ENV=production
..../apache2 restart
In firebug I can see that highlight.js and css loaded. (Firefox 40)
I just tried redmine stable 3.0.x (3.0.4) with Your plugins, and it worked without any problems, the only difference is ruby (2.1.5) but this should not be an issue
Check out javascript console, are there any errors?
Check content of loaded CSS and JS file - are they ok? (meaning content format)
Review any example <pre><code>...</pre></code>
in firebug - it should receive hljs class, is it?
Are You using non-default theme?
use Alternate in Redmine and Default in plugin config
Still works on my test instance, Alternate theme + default scheme in plugin config. Please answer questions above. I can't reproduce Your issue and I don't have any clue what may be wrong on Your side.
Make sure You are using latest version from github (1.0.1) .
BTW: what makes You think it's not working? Can You attach any screenshot?
Ok, now it's clear - plugin is not loaded here yet, but those views are not <pre><code>..
blocks that You can insert. In fact it's duplicate of #3
I assumed that it's not working on whole page, now I know that You meant source view only. I'm closing this issue as duplicate of previous ticket, I hope to take a look at this i few days :)
Thanks for Your raport :)
It`s git repository connected to Redmine
Yep, I know now, this wasn't cleat at topic start :) I'll take a look at this and try to fix that, it should not be very difficult. :) I'll let You know in #3
Thanks
Not work in git repository