WordPress.org

Ready to get started?Download WordPress

Forums

iG:Syntax Hiliter Plugin (104 posts)

  1. Amit Gupta
    Member
    Posted 7 years ago #

    @simonpockley:

    However, I just can't see anything to use for code when I go to write a post - nothing (except the usual visual editor menu etc). What should I be seeing that will allow me to write code in my post?

    read the manual please. the code tags that you can use is mentioned there & so is the way to put up quicktags for the code tags.

    @codebowl:

    i have this all integrated, is there a way to make it set a width limit on the code highlight, or set the font size?

    @krzyk:

    Is there a way to reduce the line height of the code ?
    Right now I have HUGE line spacing in my codebox

    the "css/syntax_hilite_css.css" file is the one you should be editing

    @noodles25:

    I'm using word press 2.04 and trying to get the buttons to show up in the editor, but having no luck with the instructions provided in the manual.

    did you also see in the manual that its written that it won't work with the WYSIWYG editor? if you are not using that & still you are unable to get the quicktags going after following the instructions in the manual to the point, then maybe you'd like to elaborate a bit more what you did. :)

    @dkusleika:

    When I put ampersands in my code in the comments, it changes them to escaped ampersands. It doesn't seem to do that in the main post.

    hmm, not sure but I think that's WP's doing. I'll check it. :)

  2. Kongtechnology
    Member
    Posted 7 years ago #

    Is there a way to make the text smaller? Please provide guide :) Thanks.

  3. dkusleika
    Member
    Posted 7 years ago #

    Thanks Amit. Another example is

    http://tinyurl.com/mk5hb

    where the main posts includes a "not equal" operator, but similar code in the comments shows nothing - presumably interpreting those as html tags. Thanks for taking a look at it.

  4. derwuff
    Member
    Posted 7 years ago #

    @amit:

    did you also see in the manual that its written that it won't work with the WYSIWYG editor? if you are not using that & still you are unable to get the quicktags going after following the instructions in the manual to the point, then maybe you'd like to elaborate a bit more what you did. :)

    Same Problem here, I'm not using the WYSIWYG-Editor and the Buttons are not visible in 2.0.4

  5. jimbomaha
    Member
    Posted 7 years ago #

    hi everyone,

    having a problem with the line numbers:

    http://www.ewebbed.co.uk/tech-blog/

    as you can see its just putting >> in there!!!

    I havent made any changes to the files.

    cheers

  6. Natcon67
    Member
    Posted 7 years ago #

    I've downloaded the plugin, uploaded it to my server and every time i try to "Activate" the plugin it just gives me a blank white page. and every other wp-admin page is just white. I have to delete the plugin from the plugins folder to get my wp-admin back.
    Has anyone else had that problem? I'm running WP 2.0.3

  7. Amit Gupta
    Member
    Posted 7 years ago #

    @Kongtechnology:

    Is there a way to make the text smaller? Please provide guide :)

    can you read? just above your post I've told about the file which should be edited for all styling etc.!! c'mon man, look around!! ;) :P

    @dkusleika:
    looks like a bugger, I still haven't gotten time to look into it. holidays coming around at the end of this month, maybe I'll get a day to look at my list & sneak in an update. ;)

    @derwuff:

    Same Problem here, I'm not using the WYSIWYG-Editor and the Buttons are not visible in 2.0.4

    seriously now, have you bothered to look at the Manual? please look into the Quicktags section of it where you'll find nice & easy to read & easy to follow instructions to make the buttons appear on your editor screen. :)

    @jimbomaha:

    having a problem with the line numbers:

    http://www.ewebbed.co.uk/tech-blog/

    as you can see its just putting >> in there!!!

    yeah well, your theme's the culprit here having applied that image on all Ordered Lists, so ofcourse the hiliter's code box list will also be effected. just modify the hiliter's css file(look for the path in my last post above) & add in a rule for OL's in the hiliter box to not have images but numbers.

    @Natcon67:

    I've downloaded the plugin, uploaded it to my server and every time i try to "Activate" the plugin it just gives me a blank white page. and every other wp-admin page is just white. I have to delete the plugin from the plugins folder to get my wp-admin back.
    Has anyone else had that problem? I'm running WP 2.0.3

    I haven't got this problem & don't remember anyone reporting it. why not unzip the package & start over again, this time following the instructions word-to-word? if it still doesn't works, then maybe you'd like to list out which plugins you are using & I'll have a look. this still seems a bit doubtful scenario as I don't think my plugin is affected by any other plugin's existence.

  8. SmotW
    Member
    Posted 7 years ago #

    Thanks for the great plugin.

    I have WordPress in a sub directory in my site and the main index.php in the root directory. This caused the path to the CSS file to be incorrect.

    Solution: edit syntax_hilite.php:

    around line 32, REPLACE

    $igsyntax_hiliter_path = get_settings('home')

    with

    $igsyntax_hiliter_path = get_settings('siteurl')

  9. juda
    Member
    Posted 7 years ago #

    Great plugin. Is it possible to put the manual online or a link to it from the IG Syntax homepage?

    For example, when I am using WordPress I am not always at home. I have times that I went to look for help on IG and the links in WordPress take me to your site. So I look for links to a faq or manual but the only way I see is too download the plugin, extract it, load in browser, etc.

  10. rhibbert
    Member
    Posted 7 years ago #

    Code embedded in comments does not get formatted correctly. The problem seems to be that I have the following in my theme's style.css

    .commentlist li
    {
    margin:5px 0;
    padding:10px 10px 20px 10px;
    background:#F3F6ED url(img/comments_bottom.jpg) repeat-x bottom;
    border:#E1D6C6 1px solid;
    }

    I have tried adding .syntax_hilite li ( background-image:none;) and li .syntax_hilite (background-image:none;) to plugins/ig_syntax_hilite/css/syntax_hilite_css.css but without success.

    What should the edit be? If I use the Web Developer Firefox extension, the ID and class details are html > body > div #rap > div #main > div #content > ol .commentlist > li #comment-13 .alt > div .syntax_hilite > div #html-2 > div .html > ol > li

  11. umair
    Member
    Posted 7 years ago #

    i need that code present in tyhe code box can be selected by 'CTRL+C' . or tripple click.
    but both these things donot work.'CTRL+c' selects complete page text ? how can i can i make it work in desired way ?

  12. Amit Gupta
    Member
    Posted 7 years ago #

    @rhibbert:

    Code embedded in comments does not get formatted correctly. The problem seems to be that I have the following in my theme's style.css

    sorry, can't help you there, am not much good with CSS myself! :)

    @umair:

    i need that code present in tyhe code box can be selected by 'CTRL+C' . or tripple click.

    its browser behaviour, nothing about plugin. but the common sense is to select the text you want to copy & then press Ctrl+C rather than just pressing the keys without selecting anything! ;)

  13. goxu
    Member
    Posted 7 years ago #

    Hi,

    Somehow, the Plain Text Bar keep appearing even though I disable the 'Show Plain Text Code Option' via the option panel.

    I don't know when the bar goes back to the setting to be displayed, but it just suddenly happens sometims. Everytime it appears, I have to disable it again and again.

    So is there another way to disable the feature completely?

  14. jingxue
    Member
    Posted 7 years ago #

    Hi Amit, I'm having some problems with [xml] when some xml element name has "-" in it. E.g.:
    [xml]
    <name-with-dash>
    <foo></foo>
    <bar></bar>
    </name-with-dash>
    [/xml]
    would show up with various parts after the dash chopped off, and some of the inner elements would get mixed up, too.

    Any thoughts?

    Thanks for this overall great plugin!
    --JX

Topic Closed

This topic has been closed to new replies.

About this Topic