Code: C++ (CC BY-SA 4.0)

Prism Syntax Highlighter for WordPress

Development showcase

The syntax highlighter that I use here on Laboratory Sandbox (LaBox) is the WordPress plugin Prism Syntax Highlighter (detached). Unfortunately, it was eight (8) months ago when it was last updated by the author, apfelbox. Good thing that apfelbox uploaded his work on Github so I was able to fork it, update it, and here we are with the updated version, live on this blog.

What were the changes from v1.4?

  • Updated PrismJS to source commit: 07c0f4f6b2
  • Added plugin descriptions
  • Added new plugins:
    • File Highlight
    • WebPlatform Docs
  • Added language-code descriptions
  • Added new languages:
    • Bash (Unix Shell)
    • C
    • C-like
    • Coffeescript
    • C++
    • Groovy
    • PHP
    • Python
    • Sassy CSS
    • SQL
  • Added new themes:
    • Okaida
    • Tomorrow
    • Twilight

Download and see it in action inside…

Download

You can download v1.5.1 by clicking here.

Examples

bash (Bash Unix Shell)

Prism Shortcode Error: field, url, data_src is missing

c (C language)

Prism Shortcode Error: field, url, data_src is missing

coffeescript (Coffeescript)

Prism Shortcode Error: field, url, data_src is missing

cpp (C++ language)

Prism Shortcode Error: field, url, data_src is missing

css (Cascading Stylesheet)

Prism Shortcode Error: field, url, data_src is missing

groovy (Groovy script)

Prism Shortcode Error: field, url, data_src is missing

java (Java language)

Prism Shortcode Error: field, url, data_src is missing

javascript (JavaScript)

Prism Shortcode Error: field, url, data_src is missing

markup (xHTML, MathML, SVG, LaTeX, RSS, XML, OWL, etc.)

Prism Shortcode Error: field, url, data_src is missing

php (PHP)

Prism Shortcode Error: field, url, data_src is missing

python (Python language)

Prism Shortcode Error: field, url, data_src is missing

scss (Sassy CSS)

Prism Shortcode Error: field, url, data_src is missing

sql (SQL)

Prism Shortcode Error: field, url, data_src is missing

Download

You can download v1.5.1 by clicking here.

Donations for the magus

  • XLM (Stellar Lumens): yukino*keybase.io
    • XLM memo/tag (optional): for techmagus.icu
  • XRP (Ripple): rU2mEJSLqBRkYLVTv55rFTgQajkLTnT6mA
    • XRP memo/tag (required): 246013
  • ZEC (Zcash): t1QUJ4fdzwtpyg2s5Qk44jqMsTdJQ2BwXe4
  • ₿CH (Bitcoin cash): pp8fkmchlu6a7c53a2s682jd70mncrzemsthca6ftl
  • ₿TC (Bitcoin core): 32w1De4wvr5jEzC4g5P4rkjvqg2bvMR8Vk

CC BY-SA 4.0 Prism Syntax Highlighter for WordPress by ᜌᜓᜃᜒ (Yuki|雪亮) is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Permissions beyond the scope of this license may be available at Legal Notice.

Leave a Reply

labox