WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. shidouhikari
    Member
    Posted 4 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

    http://wordpress.org/extend/plugins/syntaxhighlighter/

  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
    Member
    Posted 4 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
    Member
    Posted 3 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