[wordpress插件] Better WordPress Syntax Highlighter更好的WordPress语法荧光笔

wordpress 插件 文章 2020-03-04 08:00 503 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin allows you to highlight code syntax in your posts.

此插件可让您在帖子中突出显示代码语法。

It is simple, lightweight, and very easy to use with plenty of options to choose.

它简单,轻巧,并且非常易于使用,并且有很多选择。

This plugin works with both editors and won’t mangle your code format.

该插件可在两个编辑器中使用,不会破坏您的代码格式。

This plugin utilizes the popular PHP syntax highlighting library – GeSHi.

该插件利用流行的PHP语法突出显示库– GeSHi

Some Features

某些功能

    • Load the plugin only when you need it
    • 仅在需要时加载插件

    • Option to load media files (CSS, JS, etc.) only when needed
    • 仅在需要时加载媒体文件(CSS,JS等)的选项

    • Built-in hooks for easier customization
    • 内置挂钩可简化自定义

    • A lot of options to choose (I bet you don’t need them all!)
    • 有很多选择(我敢打赌,您不需要所有这些!)

    • Preview any snipplet of code to match your preference
    • 预览任何代码片段以符合您的喜好

    • Possibility to add more languages
    • 添加更多语言的可能性

    • Parse code within
       tag,  tag or using shortcode
    • 使用
       标签,  标签或使用简码来解析代码

    • Parse code within comments
    • 在注释中解析代码

    • Editor button to add code
    • 编辑器按钮以添加代码

    • Two output methods, Table or Ordered list
    • 两种输出方法,表格或有序列表

    • Style code globally or language-based
    • 全局或基于语言的样式代码

    • WordPress Multi-site compatible (not tested with WPMU)
    • WordPress多站点兼容(未经WPMU测试)

    • And more…
    • 还有更多...

    Get in touch

    联系

安装步骤

    1. Upload the better-wordpress-syntax-based-on-geshi folder to the /wp-content/plugins/ directory
    2. 基于wordpress的基于语法的文件夹文件夹上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the Plugins menu in WordPress.

    4. 通过WordPress中的“插件”菜单激活插件。

      After activation, you should see a menu of this plugin on your left.

      激活后,您应该在左侧看到该插件的菜单。

      If you can not locate it, click on Settings under the plugin’s name.

    5. 如果找不到它,请单击插件名称下的“设置”。

    6. Configure the plugin
    7. 配置插件

    8. Add code using the Editor Button
    9. 使用“编辑器”按钮添加代码

    10. Enjoy!
    11. 享受!

    View instructions with images.

    查看带有图像的说明

下载地址
https://downloads.wordpress.org/plugin/better-wordpress-syntax-based-on-geshi.zip
-EOF-

AI助手支持GPT4.0