ckeditor-prism
================
<strong>OVERVIEW</strong>:<br>
<a href="http://ckeditor.com/addon/prism">Prism Highlighter</a> is a plugin for <a href="http://ckeditor.com">CKEditor</a> for inserting beautiful formatted text, markdown, or code snippets in your blog or website. Prism is the chosen renderer/highlighter/colorizer since it's pretty, lightweight, and extendable. I also use this plugin in my [personal website](http://www.ranelpadon.com/content/practical-regex-part-12-common-operators).

This plugin utilizes the following libraries: <br>
<ul>
  <li><a href="http://ckeditor.com/addon/codesnippet">CKEditor Code Snippet Plugin</a></li>
    <li><a href="http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.codesnippet.highlighter">CKEditor Code Snippet API</a></li>
  <li><a href="http://prismjs.com/">Prism Syntax Highlighter with Dark Theme</a></li>
  <li><a href="http://prismjs.com/plugins/line-numbers/">Prism Line Numbers Add-on</a></li>
</ul>

By default, Prism has no line numbering mechanism, so the **Line Number** add-on has been added. Also, in order for the line numbers to work smoothly in CKEditor and when rendering the actual page, I did some minor patching in **prism.js** and **prism.css**.

<strong>LIVE DEMO PAGE</strong>:<br>
Demo page could be found <a href="http://www.ranelpadon.com/sites/all/libraries/ckeditor/plugins/prism/demo/index.html">here</a>.

<strong>INSTALLATION</strong>:<br>
Kindly refer to <a href="https://github.com/ranelpadon/ckeditor-prism/blob/master/Installation%20Guide.txt">Installation Guide</a>.

<strong>HOW TO USE</strong>:<br>
Kindly refer to <a href="https://github.com/ranelpadon/ckeditor-prism/blob/master/Creating%20and%20Editing%20Code%20Snippets.txt">How to Create and Edit Prism Snippets</a>.

<strong>LICENSE and CREDITS</strong>:<br>
License: <a href="https://www.gnu.org/licenses/lgpl-2.1.txt">LGPLv2.1</a> or later should apply. Note that LGPLv2.1+ is also compatible with <a href="https://www.drupal.org/node/1475972#gplv2-compatible-licenses">GPLv2</a>.<br>
Copyright 2015 by [Engr. Ranel O. Padon](http://www.ranelpadon.com)<br>

Thanks to CKEditor, Prism, and other great open-source softwares and their unsung developers.<br>

=======================================================
