Code Syntax Highlighting Block

説明

A WordPress plugin that provides a Gutenberg block for displaying computer source code with syntax-highlighting. Uses highlight.js under the hood.

  • ✅ Supports 192 languages
  • ✅ 256 included themes
  • ✅ Server rendered static HTML
  • ✅ Zero JS runtime dependencies
  • ✅ Dynamic light/dark mode based on preferred color scheme

スクリーンショット

  • A demo of syntax-highlighted PHP code.
  • A demo of editing the block in the Gutenberg editor.

ブロック

このプラグインは1個のブロックを提供します。

  • Code with Syntax Highlighting Display computer code with syntax highlighting.

FAQ

Why no line numbers?

Because highlight.js does not have them.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Code Syntax Highlighting Block はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Code Syntax Highlighting Block” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.1.2

  • Updated Codemirror code editor in Gutenberg to latest version
  • Updated internal dependencies

1.1.1

  • Added option for setting global default line height

1.1.0

  • Added better code editor

1.0.0

  • Release