[wordpress插件] APH Syntax HighlighterAPH语法荧光笔

wordpress 插件 文章 2020-02-19 18:10 675 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Syntax Highlighter developed by Alex Gorbatchev that has been developed 10+ years is a popular syntax highlighter.

Alex Gorbatchev开发的语法突出显示工具已经开发了10多年,它是一种流行的语法突出显示工具。

It is also widely used by a lot of blog and website.

许多博客和网站也广泛使用它。

Currently, it achieves version of 4, this version has significant change in the built method compared to the previous, this is, for some people, somewhat confused and hard to do.

当前,它实现了版本4,与以前的版本相比,此版本在构建方法上有重大变化,对于某些人来说,这有些困惑并且很难做到。

This plugin helps you to bring this code highlighter to your WordPress easily, forget a headache builds.

此插件可帮助您轻松地将此代码标注工具带到您的WordPress,而无需再为之烦恼。

Provided with many features and user-friendly GUI, make it handy and easy to use

具备许多功能和用户友好的GUI,使其方便易用

** Features.

**功能。

**

**

    • Simple and easy to use
    • 简单易用

    • Full GUI, don’t need to hardcode the parameters
    • 完整的GUI,无需对参数进行硬编码

    • Custom container max-height.

    • 自定义容器的最大高度。

      Useful when displaying long code.

    • 显示长代码时很有用。

    • Easy to add custom CSS.

    • 易于添加自定义CSS。

      Useful for responsive design.

    • 对于响应式设计很有用。

    • Easy to edit code that has been written in tinyMCE text editor (Screenshot 3)
    • 易于编辑用tinyMCE文本编辑器编写的代码(屏幕截图3)

    • Write and edit code in place.

    • 就地编写和编辑代码。

      The textarea code editor supports the tab and back tab, so you can directly edit or write your code, rather than switch back to your code editor.

    • textarea代码编辑器支持选项卡和后选项卡,因此您可以直接编辑或编写代码,而不必切换回代码编辑器。

    • Load script on demand, load javascript and CSS files of syntax highlighter only when needed.
    • 按需加载脚本,仅在需要时加载语法荧光笔的javascript和CSS文件。

    • Use Syntax Highlighter 4 by Alex Gorbatchev
    • 使用Alex Gorbatchev的语法荧光笔4

    • Ability to override global options and use individual options for each code block
    • 能够覆盖全局选项并为每个代码块使用单独的选项

    • Custom Font Size
    • 自定义字体大小

    • Support TinyMCE Visual mode and Text Mode (Quick Tags), it also supports the Quick tags used in the admin comment page (screenshot 5)
    • 支持TinyMCE可视模式和文本模式(快速标记),它还支持在管理员注释页面(屏幕截图5)中使用的快速标记

    • Use similar pattern with APH Prism Highlighter and APH Prism Highlighter

      https://wordpress.org/plugins/crayon-syntax-highlighter/" title="Crayon Syntax Highlighter">Crayon Syntax Highlighter plugins, so your code will still work using those plugins

    • https://wordpress.org/plugins/crayon-syntax-highlighter/“ title =” Crayon Syntax Highlighter“> Crayon Syntax Highlighter 插件,因此您的代码仍然可以使用这些插件

    • Language added: dark plain (console style) and light plain
    • 添加的语言:深色(控制台样式)和浅色

    How To Use

    使用方法

    After installing the plugin, go to the admin setting Settings > Syntax Highlighter to configure the global setting including the highlighter languages you want to load, theme, etc…

    安装插件后,进入管理设置“设置”>“语法荧光笔”以配置全局设置,包括要加载的荧光笔语言,主题等...

    In the TinyMCE menu (add or edit post or page), there is a new button that can be used to pop up the code editor, simply copy-paste your code and fill in some options

    在TinyMCE菜单(添加或编辑帖子或页面)中,有一个新按钮可用于弹出代码编辑器,只需复制粘贴代码并填写一些选项即可

    This new button also can be found at the quick tags of comment editor in the Admin Edit Comments page.

    此新按钮也可以在“管理编辑评论”页面的评论编辑器快速标签中找到。

    This quick tag appears when you edit or reply a comment.

    当您编辑或回复评论时,将显示此快速标记。

安装步骤

Install & activate the plugin.

安装并激活插件。

Modify some options in the settings page to suits your need.

修改设置页面中的一些选项以适合您的需求。

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

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Display Category Post Count显示类别发布计数
[wordpress插件] Approved Comments Only仅批准评论
[wordpress插件] Deviant Thumbs偏离拇指
[wordpress插件] Dismiss Gutenberg Nag解雇古腾堡·纳格
[wordpress插件] Arrow Video Feed, Custom Video Channel FeedArrow Video Feed,自定义视频频道Feed
随便看看
将爱某艺的qsv转成flv格式放到老人点播机里 2479
和平精英战术随机应变、城区刚枪、野点发育、找车转移 是什么意思 8491
老爷子收到了057128256416的电话号码 3113
阿里云com、cn域名续费优惠码(2020年3月可用) 2863
线上防疫题库正确答案 2932
线上防疫题库正确答案(多选题) 4825
微信设置不可以使用小程序(游戏小程序) 5634
adsense申请已经支付的订单回退的网址 3212
BT面板查看网站入口、账号密码的命令 6009
ucloud海外服务器超级优惠券 3274