aramk / crayon-syntax-highlighter

Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
https://wordpress.org/plugins/crayon-syntax-highlighter/
GNU General Public License v3.0
1.1k stars 247 forks source link

VC shortcode? #287

Open kprovance opened 9 years ago

kprovance commented 9 years ago

Any chance you chaps have a Visual Composer shortcode for your plugin? Thought I'd ask before I'm forced to write one of my own. :)

Cheers!

aramk commented 9 years ago

Sorry no, though I imagine their extensions would possibly allow you to write one. If not by creating pre tags and capturing those somehow, you could use this method for highlighting programmatically.

http://aramk.com/blog/2012/05/30/adding-crayon-to-posts-in-wordpress-programmatically/