angular-snippets
Version:
AngularJS directives to display source code with tabs and syntax highlighter (prism)
49 lines (29 loc) • 1.61 kB
Markdown
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
Angular directives to display code.
- Use [Prism](http://prismjs.com/) syntax highlighter
- Fully configurable by themes
- Load file from attribute list or using JSON manifest
If you like this plugin give it a thumbs up at [ngmodules](http://ngmodules.org/modules/angular-snippets) or get me a [beer](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WCUX27CFV79S2).
[](http://jbdemonte.github.io/angular-snippets/)
<snippets path="snippets/demo" files="['index.html', 'app.js', 'missing.css']"></snippets>

<snippets path="snippets/demo1/">
<snippets-pane snippet="{name: 'Explain', selected: true, cls:'pull-right', icon: 'glyphicon glyphicon-file'}">
<div class="custom">
...
</div>
</snippets-pane>
</snippets>

The source for angular-snippets is released under the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
[]: https://npmjs.org/package/angular-snippets
[]: https://badge.fury.io/js/angular-snippets.png
[]: http://travis-ci.org/jbdemonte/angular-snippets
[]: https://secure.travis-ci.org/jbdemonte/angular-snippets.png?branch=master