Ready to get started?Download WordPress


Is there any way to *highlight* with wp-syntax ? (3 posts)

  1. thornomad
    Posted 5 years ago #

    I wanted to switch over to using the wp-syntax plugin rather than my own hodgepodge system -- it works great, love the pretty colors and ease of use! Had a couple question though:

    Is there any way to highlight specific portions of the code I am displaying? For example, if there is 50 lines of code and I want to point out changes in lines 35-38 is there a way I can make just that portion bold or highlighted or in some way differentiate it from the rest of the code ?

    Also, is there a syntax specific to displaying "terminal" commands?


  2. FractalizeR
    Posted 5 years ago #

    You need to read geshi manual on highlighting particular lines of code.

    Which terminal commands? Bash? Check geshi directory for a particular highlighter php file name

  3. axel.
    Posted 4 years ago #

    Hi, i need to highlight some special lines of code. i tried to use <strong>...mycode...</strong> but it's showed as normal html code and it's not getting parsed by the browser.

    i searched the GeSHi Documentation for a method to highlight special lines of code and found that. Is it already implemented by the Plugin? How i can use it?

Topic Closed

This topic has been closed to new replies.

About this Topic