You can insert source code into the editor, from file, or from webservices like GitHub, Gist, Pastebin, BitBucket or BitBucket snippets.
Pastacode allows to enhance your snippets using PrismJs plugins . 7 different color schemes are included, and you can build yours..
Go to Pastacode settings, and configure your scheme and cache expiration.
Paste these lines into your functions php theme file add action function custom enqueue script { $urlofmynewscheme = get stylesheet directory uri prism-okaida-willy css this is example wp deregister style wp register style }.
If you just want php, html, css and javascript support add filter pastacode langs { $langs = array return $langs }..
does this allow you to embed & highlight the normal stuff, but it will also fetch and embed from github bitbucket repo.
All my code is hosted on github or gist and the plugin fetch the code, cache it and display on my post.
Browse the code, check out the SVN repository, or subscribe to the development log by RSS...
PrismJS stylesheets and TinyMCE improvments new method to retrieve GitHub snippets fancy new website for demos fix resolve bug while old shortcode conversion fix conflict between manual code and %. 1.8 22 august 2016.
API views implementation. fix bug when creating new shortcodes . 1.4.2 21 january 2015 can target specific file inside gist remove prismJS plugin demo file . 1.4.1 january 2015.
Read more