このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Lite Syntax Highlighting

説明

The Plugin makes it easy to add syntax highlighting of code in your blog. You can use shortcodes in posts and comments and also html tags everywhere.

It adds some buttons to editor, which generate special short code tags to turn on syntax highlighting: [slh lang=”php”] for example. And you can use html tags, example: <pre class=”slh__html”></pre>

The plugin supports highlighting:

  • PHP
  • HTML
  • CSS
  • JavaScript
  • C

言語:

  • 英語
  • ロシア

スタイル:

  • Light
  • Dark

スクリーンショット

  • Example for PHP code
  • 設定ページ
  • エディター
  • ダークスタイル

インストール

  1. Upload the plugin files to the “/wp-content/plugins/” directory or install the plugin through the WordPress plugins screen directly..
  2. 「プラグイン」メニューからプラグインを有効化します。
  3. Use the Settings -> Syntax Highlighting screen to configure the plugin

FAQ

What code is highlighted?

PHP、HTML、CSS、JavaScript、C

How can I help?

There are public repository: https://github.com/z17/Lite-Syntax-Highlighting
Welcome!

How can I use it?

You can use special buttons in WordPress post editor, or use shortcodes like [slh lang=”php”] to create block of code.
Also you can just write html tags <pre class=”slh__php”> CODE </pre> where you want.

How can I ask something?

Open new topic in support section or you can write me email, admin@blweb.ru

評価

2016年9月3日 1 reply
It is so simple and as my site don't need a ton of feature I only post css and php little bit. This plugin just fit my need. Thank you so much.
2件のレビューをすべて表示

貢献者と開発者

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

貢献者

“Lite Syntax Highlighting” は2ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

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

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

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

変更履歴

0.5

  • add support short codes
  • short codes also work in comments

0.4

  • add basic highlight for C language
  • some refactor

0.3

  • add dark style

0.2

  • Add languages support

0.1

  • 最初のリリース。