Linux 软件免费装
Banner图

Prism Syntax Highlighter

开发者 ankurk91
更新时间 2021年2月20日 22:57
PHP版本: 3.8.0 及以上
WordPress版本: 4.8.2
版权: MIT
版权网址: 版权信息

标签

free simple prism syntax highlighter light weight

下载

1.3 1.4 1.5 1.6 1.6.1 1.6.2 1.7.0 2.0.0 3.0.0 3.0.1

详情介绍:

Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. This plugin lets you control and use this awesome library in to your WordPress site. ** Comes with 6 Official themes ** Available Languages at this time Comes with 16 Official Plugins Additional Features

安装:

  1. Remove any existing syntax highlighter or disable them.
  2. Search for 'ank prism for wp' in WordPress Plugin Directory and Download the .zip file & extract it.
  3. Upload the folder ank-prism-for-wp to the /wp-content/plugins/ directory
  4. Activate the plugin through the 'Plugins List' page in WordPress Admin Area.
  5. Configure this plugin via Settings-->Prism For WP
  6. Enjoy the awesomeness.

屏幕截图:

  • Plugin Option Page Screen
  • Tiny MCE Pop-up box
  • Final output on front-end

升级注意事项:

Please install v3.0.1

常见问题:

What does this plugin actually do?

This plugin allows you to select from available themes, languages and plugins. It then creates JS and CSS files, stores them on the server and enqueues them to front end. Everything will be served from the local server.

Where can I find a working demo?

Just head to http://prismjs.com for demos and instructions.

Who is the original developer of Prism Library?

Changes do not reflect after saving settings ?

Are you using some Cache/Performance plugin (eg:WP Super Cache/W3 Total Cache/BWP Minify) ? Then flush your WP cache and refresh target page.

Where does it store settings and options ?

WP Database->wp-options->ank_prism_for_wp. Uses a Single Row, stored in an array for faster access.

What if I uninstall/remove this plugin?

No worries! It will remove all traces from the database upon uninstall.

This Plugin is unable to write js/css files .

Each time update the settings, the plugin will create new js and CSS files. There may be some chance that the plugin is unable to create or write these files. These files are essential for the plugin to work. Possible reasons are ->

  • Not enough permission to write a file.
  • Plugin malfunction (my fault).
  • You hosting provider has disabled File Handling Function via php.ini (rare).
How to resolve ->
  • Login to your website via your FTP client software. (eg: FileZilla) and change file permission of this plugin folder.

Did you test it older versions of WordPress ?

No, i only test it with latest version. But it should work with older versions without any problem as well.

Have you changed anything in Prism source files

No, each and every file is in its original state.

更新日志:

3.0.1 3.0.0 2.0.0 1.7.0 1.6.2 1.6.1 1.6 1.5 1.4 1.3 1.2 1.1 1.0