ཞིབ་བརྗོད།
Simple Syntax Highlighting (SSH), simple, clean and lighweight plugin to integrate highlight.js into WordPress. highlightjs has automatic language detection an turn on syntax highlighting. You just need to select text than press button <ssh> or add the code into <pre> <code> </ code> </ pre> format.
Credit:
Highlight.js – https://highlightjs.org
Line numbering plugin: https://github.com/wcoder/highlightjs-line-numbers.js
Supports highlighting
- Java
- C
- HTML
- CSS
- PHP
- and more, up to 176 language, see: https://highlightjs.org/static/demo/
Instalation
- Download plugin Simple Syntax Highlighting archive, than unzip it.
- Upload the “simple-sintax-highlighting” folder to the “wp-content/plugins” directory.
- Activate the plugin through “plugins” menu in WordPress dashboard.
- Open menu: Setting > Simple Syntax Highlighting to configure.
Screenshoot
- Plugin Settings
- Editor
གཏུབ་རེིས།
FAQ
Q: How to use Simple Syntax Highlighting plugin?
A: Paste yout code inside <pre> <code> </ code> </ pre> or please see screenshot.
གདེང་འཇོག
བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།
“Simple Syntax Highlighting” is open source software. The following people have contributed to this plugin.
བྱས་རྗེས་འཇོག་མཁན།ཁྱེད་ཀྱི་སྐད་ཡིག་ནང་ལ་ “Simple Syntax Highlighting” ཡིག་སྒྱུར་བྱོས།
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
དག་བཅོས་ཉིན་ཐོ།
1.1
- Fix line numbering
- Support plugin TinyMCE Advanced
- Update readme.txt
1.0
- Initial release.