Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 10

CurtisOdenericgillettemcu_hqx00 +6 guests

Using with class="XX"

This discussion is related to the Vanilla Syntaxizer addon.
Hello,

I just tried to use this addon,
using < code>< /code> work correctly, but i can't specify kind of code (php or else)
Is there any exemple of use please.

Thanks .

Best regards.

Comments

  • srasra
    Posts: 7
    I seem to be having the same issues...sort of blocks it out, but no highlighting at all, well.. override is a different color :-/
  • srasra
    Posts: 7
    http://shjs.sourceforge.net/

    I have read all about it, still now luck. Will try again and keep everyone updated if I make any progress.
  • stevanovich, did you modified the code that is inside VanillaSyntaxizer/default.php? sra did some "changes" and they didn't worked so I suppose that you made similiar mistakes. There is a thing, that new version of Vanilla (I wrote this plugin some time ago) changes some ids/classes of DOM elements, so you have to change a jQuery selector. Version 1.1 of Vanilla Syntaxizer has been changed so it should work now.
  • srasra
    Posts: 7
    I uploaded the new version and now everything works great. I dont think their was anything wrong with version 1.0...maybe a typo on my end that just made me break something else? New version works great. Thanks!

    EDIT:

    One change I had to make which may be just my theme but I had to change the css to color it a little better.

    Just added "!important" like below so I it would override the default theme.

    pre.sh_sourceCode{font-family:monospace !important; font-size:1.05em !important; border:solid 1px #ddd !important; background-color:#fff !important;color:#000 !important;font-weight:normal !important; font-style:normal !important;}
Sign In or Register to comment.