Pastacode

plugin banner

Use Pastacode to add code into your posts with the awesome PrismJs coloration library. So, past'a code!

Author:Willy Bahuaud (profile at wordpress.org)
WordPress version required:3.1
WordPress version tested:4.7.13
Plugin version:2.1
Added to WordPress repository:10-10-2013
Last updated:09-08-2019
Rating, %:98
Rated by:14
Plugin URI:http://pastacode.wabeo.fr
Total downloads:17 538
Active installs:1 000+
plugin download
Click to start download

With Pastacode, you can easily add code into your posts with the awesome PrismJs coloration library.
You can insert source code into the post editor, from a file, or from webservices like GitHub, Gist, Pastebin, BitBucket or BitBucket snippets. Webservices responses are cached in order to avoid too many HTTP requests.
It also work in comments and bbPress topics and replies.

Don’t worry about posts updates while upgrading codes!

Pastacode allows to enhance your snippets using PrismJs plugins (highlightning lines, link functions…).

7 different color schemes are included, and you can build yours.

Available programming languages:

  • HTML
  • CSS
  • JavaScript
  • PHP
  • C
  • C++
  • Java
  • Sass
  • Python
  • SQL
  • Ruby
  • CoffeeScript
  • Bash
  • Apache config
  • less
  • haml
  • markdown

If you use another syntax highligther plugins, migration scripts are available


Screenshots
FAQ
ChangeLog