Beschrijving
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:
- English
- Русский
Styles:
- Light
- Dark
Schermafbeeldingen
Installatie
- Upload the plugin files to the “/wp-content/plugins/” directory or install the plugin through the WordPress plugins screen directly..
- Activate the plugin through the “Plugins” menu in WordPress.
- 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
Beoordelingen
Bijdragers & ontwikkelaars
“Lite Syntax Highlighting” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
Bijdragers“Lite Syntax Highlighting” is vertaald in 2 talen. Dank voor de vertalers voor hun bijdragen.
Vertaal “Lite Syntax Highlighting” naar jouw taal.
Interesse in de ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via 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.