Zvýraznění ukázky kódu v příspěvku

**CodeHighlighter**
„http://wordpress.org/extend/plugins/code-highlighter/“:http://wordpress.org/extend/plugins/code-highlighter/
„http://ideathinking.com/wiki/index.php/WordPress:CodeHighlighterPlugin/“:http://ideathinking.com/wiki/index.php/WordPress:CodeHighlighterPlugin

This plugin is a syntax highlighter for source code. It uses GeSHi as fontifier engine.
Put the code snippet to pre tag.
Add the lang attribute to the pre tag like the following. **< pre lang="php" >**
Add the lineno attribute to the pre tag after the lang tag like the following if you want to display line numbers. The number in the lineno tag becomes a start line number. There is no default value for the start line number. So you must supply the value to the lineno tag. **< pre lang="php" lineno="1" >**

If you want to have border, add the style like the following to your .css file: **pre { border: 1px dotted #ccc; padding: 0.2em 0.5em; }**

You can use many languages in lang. For example: css, html4strict, javascript, mysql, php, python, text,xml and much more.

Pozor, nefunguje s Texy, tam je zapotřebí použít „speciální syntaxi“:http://texy.info/cs/syntax-podrobne (značky /—code):
/—code php

\—

*Alternativy*

**SyntaxHighlighter Evolved**
„http://wordpress.org/extend/plugins/syntaxhighlighter/“:http://wordpress.org/extend/plugins/syntaxhighlighter/

SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without losing it’s formatting or making any manual changes. It uses the SyntaxHighlighter JavaScript package by Alex Gorbatchev.

**Crayon Syntax Highlighter**
https://wordpress.org/plugins/crayon-syntax-highlighter/

Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, or post text.

**Code-prettify**
„https://github.com/kasparsd/code-prettify“:https://github.com/kasparsd/code-prettify

WordPress plugin for automatic code highlighting using the Prettify library. No shortcodes, no bullshit.

**Enlighter – Customizable Syntax Highlighter**

Enlighter – Customizable Syntax Highlighter

Easy-to-use, syntax highlighting tool for WordPress. It’s build in PHP and uses the MooTools(Javascript) based EnlighterJS to provide a beautiful code-appearance. Using it can be as simple as selecting an editor style or adding shortcode around your scripts which you want to highlight and Enlighter takes care of the rest.

Zvýraznění syntaxe kódu v editaci šablon a pluginů

**Power Code Editor**
„http://wordpress.org/extend/plugins/power-code-editor/“:http://wordpress.org/extend/plugins/power-code-editor/
„http://anetech.eu/power-code-editor/“:http://anetech.eu/power-code-editor/

Helps you more effectively edit your themes or plugins when you only have access to a browser, by enabling syntax highlighting in WordPress‘ integrated source code editors. Supports PHP, HTML, CSS and JavaScript.

*Alternativy:*

**WP Code Editor Plus**
„http://wordpress.org/extend/plugins/wp-code-editor-plus/“:http://wordpress.org/extend/plugins/wp-code-editor-plus/

Current Features Include: * Syntax Highlighter * JavaScript Code Completion * Ability to resize editor via click & drag

**HTML Editor Syntax Highlighter**
„http://wordpress.org/extend/plugins/html-editor-syntax-highlighter/screenshots/“:http://wordpress.org/extend/plugins/html-editor-syntax-highlighter/screenshots/

[* http://s.wordpress.org/extend/plugins/html-editor-syntax-highlighter/screenshot-1.png?r=599322 500×261 *]

**WP Editarea**
„http://wordpress.org/extend/plugins/wp-editarea/“:http://wordpress.org/extend/plugins/wp-editarea/
„http://takien.com/606/wp-editarea-wordpress-plugin.php“:http://takien.com/606/wp-editarea-wordpress-plugin.php

Umožňuje editor vypínat a zapínat, v kódu lze vyhledávat a nahrazovat.

Implementováno na tomto webu.

**WP Editor**
„http://wpeditor.net/“:http://wpeditor.net/
„http://wordpress.org/plugins/wp-editor/“:http://wordpress.org/plugins/wp-editor/

WP Editor is a plugin for WordPress that replaces the default plugin and theme editors as well as the page/post editor. Using integrations with CodeMirror and FancyBox to create a feature rich environment, WP Editor completely reworks the default WordPress file editing capabilities. Using Asynchronous Javascript and XML (AJAX) to retrieve files and folders, WP Editor sets a new standard for speed and reliability.