该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Dottoro Syntax Highlighter

描述

Dottoro Highlighter plugin is based on the Dottoro Syntax Highlighter service that provides professional coloring for CSS, HTML, JavaScript and XML languages.
It supports highlighting CSS, JavaScript and XML blocks embedded into HTML documents, optionally selectable line numbering and buttons for copying and printing code snippets.
It performs a detailed lexical analysis on the source code and attaches different style classes for different language items, thus providing a very flexible way to modify the appearance of the highlighted code.

Using of the Dottoro Highlighter plugin is really simple. Just insert your code snippet in the Visual or HTML view, select it and press the Dr-Highlight button on the toolbar.
You don’t need to embed your source code into an element (such as PRE), just select the whole source that you want to highlight and press the Dr-Highlight button.
Clicking on the Dr-Highlight button pops up a dialog box where you can specify the settings for the highlighted code.
If you need to modify the appearance of a previously highlighted code, click into it then click on the Dr-Highlight button on the toolbar.

The default settings for the Dottoro Highlighter plugin can be set on the preferences page.
For further description, please visit the Dottoro Syntax Highlighter site.

屏幕截图

  • The first image screenshot-1.jpg shows the default theme.
  • The second image screenshot-2.jpg shows the black theme.

安装

  1. After downloading the Dottoro Highlighter plugin, unpack and upload the folder to the /wpcontent/plugins/ directory on your blog.
  2. Go to the Plugins tab in the WordPress administration panel, find the Dottoro Highlighter plugin on the list and click Activate.
  3. Proceed to the plugin settings page (under Settings > Dottoro Highlighter) to configure your plugin.

If you have any installation problems or configuration issues, please contact us at info@dottoro.com.

常见问题

Where can I change the color scheme of the soure code?

You can find the ‘Dottoro Highlighter’ submenu under the ‘Settings menu’ of the admin page, where you can change all features.

Can I display source code snippets with different settings on the same page?

Yes, settings can be set for each code snippet separately.

评价

此插件暂无评价。

贡献者及开发者

“Dottoro Syntax Highlighter” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • Initial version
  • WordPress 2.9.1 compatible.
  • Options dialog for TinyMCE
  • Options dialog for quicktags
  • Automatic code generation on Post_Save
  • Theme selection

1.1

  • New Look

1.2

  • CSS rules update

1.3

  • Post saving method update.