[wordpress插件] Dottoro Syntax HighlighterDottoro语法荧光笔

wordpress 插件 文章 2020-04-21 12:51 0 37 全屏看文
评分
0
描述

Dottoro Highlighter plugin is based on the Dottoro Syntax Highlighter service that

Dottoro Highlighter插件基于 Dottoro语法Highlighter 服务,该服务

provides professional coloring for CSS, HTML, JavaScript and XML languages.

为CSS,HTML,JavaScript和XML语言提供专业的着色。

It supports highlighting CSS, JavaScript and XML blocks embedded into HTML documents, optionally selectable line numbering and buttons for copying and printing code snippets.

它支持突出显示嵌入HTML文档中的CSS,JavaScript和XML块,可选的行号以及用于复制和打印代码段的按钮。

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.

使用Dottoro Highlighter插件非常简单。

Just insert your code snippet in the Visual or HTML view, select it and press the Dr-Highlight button on the toolbar.

只需在Visual或HTML视图中插入您的代码段,选择它并按工具栏上的Dr-Highlight按钮即可。

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.

您无需将源代码嵌入到元素中(例如PRE),只需选择要突出显示的整个源并按Dr-Highlight按钮即可。

Clicking on the Dr-Highlight button pops up a dialog box where you can specify the settings for the highlighted code.

单击Dr-Highlight按钮会弹出一个对话框,您可以在其中指定突出显示的代码的设置。

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.

如果需要修改以前突出显示的代码的外观,请单击它,然后单击工具栏上的Dr-Highlight按钮。

The default settings for the Dottoro Highlighter plugin can be set on the preferences page.

Dottoro Highlighter插件的默认设置可以在首选项页面上设置。

For further description, please visit the Dottoro Syntax Highlighter site.

有关更多说明,请访问 Dottoro语法突出显示工具网站。

安装步骤

    1. After downloading the Dottoro Highlighter plugin, unpack and upload the folder to the /wpcontent/plugins/ directory on your blog.

    2. 下载Dottoro Highlighter插件后,将其解压缩并将其上传到博客上的/ wpcontent / plugins /目录。

    3. Go to the Plugins tab in the WordPress administration panel, find the Dottoro Highlighter plugin on the list and click Activate.
    4. 转到WordPress管理面板中的“插件”标签,在列表中找到Dottoro Highlighter插件,然后单击“激活”。

    5. Proceed to the plugin settings page (under Settings > Dottoro Highlighter) to configure your plugin.
    6. 进入插件设置页面(在“设置”> Dottoro Highlighter下)以配置您的插件。

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

    如果您有任何安装问题或配置问题,请通过info@dottoro.com与我们联系。

下载地址
https://downloads.wordpress.org/plugin/dottoro-syntax-highlighter.1.3.zip
-EOF-