[Plugin: SyntaxHighlighter Evolved] Inline text (4 posts)

  1. shidouhikari
    Posted 6 years ago #

    hey Viper, how can I use highlither on inline text?

    I wanted to use something like

    inline text [php]<?php get_header();[/php] inline text

    and it all appear on a single line, but code to be hightlithed is display: block and having its own line


  2. You can't, at least not out of the box.

    If you do [php classname="example"], that will give the code box the CSS class "example". Then it's just a matter of coming up with some CSS for the "example" class to make it display inline.

  3. shidouhikari
    Posted 6 years ago #

    unfortunately it didn't work... it gets all messed up, and when hovered its toolbox break it all even more :D

  4. lioman
    Posted 5 years ago #

    I don't know how to do this. Is it possible to write a css-code so the code dosn't overlay an image

Topic Closed

This topic has been closed to new replies.

About this Topic