Code Monkey home page Code Monkey logo

prism-highlighter-wordpress's Introduction

=== Prism Syntax Highlighter for WordPress ===
Contributors: nico23
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UNDSCARF3ZPBC
Tags: prism, prismjs, code, syntax, highlighter, syntax highlighter, code highlighter, highlighter, highlighting, NSA, NSA spying
Requires at least: 3.5.0
Tested up to: 4.6.1
Stable tag: trunk
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Most lightweight, yet most configurable and advanced PrismJS WordPress integration plugin. Custom fields display (detached) supported.

== Description ==

Despite two plugins already on wordpress.org I decided to write my own from scratch. The result is a minimalistic but powerful plugin with only ~250 lines of PHP.

* Supports every possible Prism configuration.
* Adds TinyMCE dropdown lost for `<code class="language-xxx"> and <pre class="language-xxx">` for bash, css, js, markup, php, scss. (I can make a filter if you want to add more.)
* Does not load prism on every page, only when needed.
* Supports automatic detection of prism HTML.
* Supports displaying code from custom fields with `[prism]` shortcode.
* Developers may use the `prism` handle to enqueue the pre-registered script and style.
* Has admin editor button for quick shortcode template snippet.
* Has no options page by design.
* **Read more ->** [Prism Syntax Highlighter for WordPress](http://nextgenthemes.com/plugins/prism-syntax-highlighter-for-wordpress/)

Bundled Prism Version (2016-09-17)

Link: http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+bash+less+php&plugins=line-highlight+line-numbers+wpd+show-language

Skin: Okaida

Languages

* Markup
* CSS
* C-like
* JavaScript
* Bash
* PHP
* Sass (Scss)

Plugins

* Line Highlight
* Line Numbers
* WebPlatform Docs
* Show Language

== Installation ==

No idea how.

== Frequently Asked Questions ==

### Will the data mining ever end? ###

What data mining?

### More! ###

[K](http://nextgenthemes.com/plugins/prism-syntax-highlighter-for-wordpress/)

== Screenshots ==

1. Demo

== Changelog ==

### 1.1.0 - 2016-09-18 ###
* Updated bundled prism.js.
* Added quotes to the shortcode included with the buttin click.
* Always scan archives, abodon the define switch.
* Added TinyMCE dropdown styles to style <code> and <pre> tags with language-xxx classes.

### 1.0.1 ###
* Added SVG icon for plugin installer

### 1.0.0 ###
* Updated bundled Prism version

### 0.9.6 ###
* Fix: Missing data-manual output

### 0.9.5 ###
* Improved: WTFAQ
* Fix: Screenshots

### 0.9.0 ###
* Release

== Upgrade Notice ==

Upgrades will break the continuous spying, do not upgrade.

prism-highlighter-wordpress's People

Contributors

techmagus avatar nextgenthemes avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.