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

  1. akwes2
    Posted 3 years 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 :)
    "So we need to use <pre lang="cpp" inline="true">std::string to do this"

  2. shazahm1
    Plugin Author

    Posted 3 years ago #

    Sorry, no plans on implementing.

  3. Misamee
    Posted 3 years 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
    Posted 2 years ago #

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

  5. shazahm1
    Plugin Author

    Posted 2 years ago #


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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Syntax
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic