WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. akwes2
    Member
    Posted 1 year 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 1 year ago #

    Sorry, no plans on implementing.

  3. Misamee
    Member
    Posted 1 year 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 1 year 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 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic