Ang plugin na ito ay hindi pa nasusubukan sa pinakabagong 3 major release ng WordPress. Maaaring hindi na ito minamantine o sinusuportahan at maaaring may mga isyu sa compatibility kapag ginamit sa mas bagong bersyon ng WordPress.

Lite Syntax Highlighting

Deskripsyon

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

Languages:

  • Ingles
  • Русский

Styles:

  • Light
  • Madilim

Mga Screenshot

  • Example for PHP code
  • Settings page
  • Editor
  • Madilim style

Pag-install

  1. Upload the plugin files to the “/wp-content/plugins/” directory or install the plugin through the WordPress plugins screen directly..
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Use the Settings -> Syntax Highlighting screen to configure the plugin

FAQ

What code is highlighted?

PHP, HTML, CSS, JavaScript and 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

Mga Review

Setyembre 3, 2016 1 na 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.
Basahin lahat ng 2 na review

Mga Contributor at Developer

Ang “Lite Syntax Highlighting” ay open source software. Ang mga sumusunod na tao ay nag-ambag sa plugin na ito.

Mga Contributor

Ang “Lite Syntax Highlighting” ay naisalin na sa 2 (na) mga locale. Salamat sa mga tagasalin para sa kanilang mga kontribusyon.

Isalin ang “Lite Syntax Highlighting” sa iyong wika.

Interesado sa development?

Tingnan ang code, i-check ang SVN repository, o mag-subscribe sa development log sa pamamagitan ng RSS.

Changelog

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

  • Initial release.