prism
Smart package for Prism, a Syntax Highlighter.
Features:
- COMING SOON: Optional bundling of additional languages (default: css,markup,js,blaze,bash)
- COMING SOON: Optional bundling of additional plugins (line-numbers,line-highlight)
- COMING SOON: Optional bundling of additional themes (default: okaida)
- Template helpers and COMING SOON: integration with markdown packages
- spacebars (meteor) language definition (early, as yet unsubmitted back to prism)
Usage
function gadi(hi) { exit(); }
The Prism
global JS variable is also available, see the
API docs.
Notes:
- Creates a
<pre><code class="language-javascript">
wrapper as per recommendations class=""
anddata-X=""
are passed through to<pre>
element, useful for plugins