Linux 软件免费装

WP-GeSHi-Highlight — rock-solid syntax highlighting for 259 languages

开发者 jgehrcke
更新时间 2019年11月30日 23:07
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 5.3
版权: GPLv2
版权网址: 版权信息

标签

code fast syntax highlight highlighting geshi valid

下载

1.0.1-beta 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.8.1 1.1.0 1.1.0.1 1.1.0.2 1.4.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.1 1.4.2

详情介绍:

Live demo • Highlights: WP-GeSHi-Highlight works as a drop-in replacement for WP-Syntax, which does not seem to be maintained anymore (as of 2015). Make the switch, it should just work (let me know how it went)! • Usage: WordPress 5 users: for now I have tested this plugin only with the Classical Editor. Gutenberg is not yet supported (it may work though, let me know). Recommendation: use the "Text" (raw) editor. Do not use the "Visual" editor. Switching between both may corrupt the contents of your code blocks. In the text editor insert code blocks as pre blocks, and use the lang argument to define the language of the code snippet: <pre lang="language"> CODE </pre> A short example for the bash language: <pre lang="bash"> $ dd if=/dev/zero of=image.ext3 bs=1M count=10000 oflag=append conv=notrunc </pre> Publish/preview, and have a look at the result! Also check out the reference documentation for all available options. You can find it on the plugin's website. Note that more usage examples can be found on the demo website. • Issues: A bunch of websites have used this plugin for years, and it seems to serve its purpose well. If you find an issue please let me know: drop a mail or leave a comment. • Theme compatibility of the default style sheet: The default style sheet was tested with recent versions of all official themes (Twenty Ten to Twenty Fifteen), and with a large range of non-official themes such as Vantage, Customizr, ColorWay, Zerif Lite, Responsive, Storefront, Virtue, evolve, Make, Sparkling, Spacious, Enigma, Sydney, Point, Interface, SinglePage. Certain themes might define styles with a high specificity that negatively affect the visual code block appearance. It is difficult to impossible to anticipate all these cases in advance, so I expect this to happen in rare cases (the past has proven that these things happen). So, I need you to look out for these situations, and please report them!

安装:

  1. Upload the wp-geshi-highlight directory to the /wp-content/plugins directory.
  2. Activate the plugin through the plugins menu in WordPress.
  3. Use it.

更新日志:

1.4.2 (2019-11-30) 1.4.1 (2019-06-12) 1.4.0 (2019-06-12) 1.3.4 (2018-12-26) 1.3.3 (2018-05-02) 1.3.2 (2018-04-23) 1.3.1 (2017-10-03) 1.3.0 (2015-06-18) 1.2.4 (2015-06-17) 1.2.3 (2015-01-12) 1.2.2 (2014-05-26) 1.2.1 (2014-05-21) 1.2.0 (2014-04-16) 1.1.0 (2013-06-22) 1.0.8 (2013-01-17) 1.0.7 (2012-05-12) 1.0.6 (2012-05-12) 1.0.5 (2011-02-27) 1.0.4 (2011-01-12) 1.0.3 (2011-01-06) 1.0.2 (2011-01-04) 1.0.1-beta (2010-12-18) 1.0.0-beta (2010-11-22)