This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Code Block

Description

This plugin uses Prism.js and a port of the beautiful Atom One Dark code theme with the Fira Code font.

Features

  • Syntax highlighting
  • Tab support
  • Special glyphs for arrow functions, operators, etc
  • Nice interface
  • 17+ languages supported

Supported Languages

  • HTML
  • CSS
  • JavaScript
  • Python
  • PHP
  • Ruby
  • SCSS
  • C
  • C++
  • C#
  • Objective-C
  • TypeScript
  • Swift
  • Go
  • JSON
  • SQL
  • Bash

Want to contribute? Check out the GitHub repository.

Screenshots

  • The editor block
  • The result

ബ്ലോക്കുകൾ

ഈ പ്ലഗിൻ 1 ബ്ലോക്ക് നൽകുന്നു.

  • Code Block

FAQ

What if [insert favorite langauge] isn’t supported?

I’ve tried my best to include the some of the most common programming languages, but there’s a change that yours isn’t supported! There are two things you could try. First, many programming langauge syntaxes are very similar. Play around with different languages and see if any produce a good enough result. Give a member of the C family a try. Alternatively, you can fork the repository on GitHub and add it yourself. As long as there’s enough demand and Prism.js supports it, you should be good to go!

Reviews

ഈ പ്ലഗിന് റിവ്യൂകൾ ഒന്നുമില്ല.

Contributors & Developers

“Code Block” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Code Block” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0 – Initial Release