WordPress.org

Support

Support » Plugins and Hacks » Is there any way to *highlight* with wp-syntax ?

Is there any way to *highlight* with wp-syntax ?

  • 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?

    Thanks,
    Damon

Viewing 2 replies - 1 through 2 (of 2 total)
  • FractalizeR
    Participant

    @fractalizer

    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

    axel.
    Member

    @axel-1

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there any way to *highlight* with wp-syntax ?’ is closed to new replies.