Forums

WP-Syntax
[resolved] One line syntax in text line. (5 posts)

  1. akwes2
    Member
    Posted 8 months ago #

    It's possible to make something like this:

    My line of text about something [wp-syntax] other part of text in this same line.

    When I write about peice of code and I'm saying about one class or structure it will be great to color it by wp-syntax, and don't need to use :)
    eg.
    "So we need to use <pre lang="cpp" inline="true">std::string to do this"
    http://wordpress.org/extend/plugins/wp-syntax/

  2. shazahm1
    Member
    Plugin Author

    Posted 8 months ago #

    Sorry, no plans on implementing.

  3. sciamannikoo
    Member
    Posted 6 months ago #

    Actually the "" tag is supposed to be used inline.
    This plugin only need to handle this tag and everything else sould work (unless the display:block; is forced by the plugin's css).
    This is also part of GeSHi documentation.

  4. jaredcamarata
    Member
    Posted 3 months ago #

    I'm pretty interested in this kind of a feature. Shazahm1: Would you let me add it to your plugin code?

  5. shazahm1
    Member
    Plugin Author

    Posted 3 months ago #

    @jaredcamarata

    Sure, the code is up on Github, feel free to fork it, add the feature and submit a pull request to have it added.

    https://github.com/shazahm1/WP-Syntax

Reply

You must log in to post.

About this Plugin

About this Topic