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/
Sorry, no plans on implementing.
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.
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?
@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