angular-ivonet-markdown

An Angularjs Markdown Directive with code highlighting and formatting
Homepage: http://ivo2u.nl/s
2 people use it
Author: 741238?v=3 IvoNet
Submitted by: 741238?v=3 IvoNet

angular-ivonet-markdown

A markdown directive for AngularJS (1.x).

Demo

See for an demo this plunker or the example in the project.

Install

install:

bower install angular-ivonet-markdown --save

or

npm install angular-ivonet-markdown --save

add to your html:

<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>

<script src="bower_components/highlightjs/highlight.pack.js"></script>

<script src="bower_components/angular-highlightjs/build/angular-highlightjs.js"></script>

<script src="bower_components/showdown/src/showdown.js"></script>

<script src="bower_components/angular-ivonet-markdown/markdown.directive.js"></script>

<script src="bower_components/showdown-twitter/dist/showdown-twitter.js"></script>

<script src="bower_components/showdown-table/dist/showdown-table.js"></script>

<script src="bower_components/showdown-github/dist/showdown-github.js"></script>

<script src="/bower_components/showdown-prettify/dist/showdown-prettify.js"></script>

<script src="bower_components/showdown-target-blank/dist/showdown-target-blank.js"></script>

License

MIT

Acknowledgements

This directive is based on btford's directive. Thanks for the idea I hope I improved on it.

comments powered by Disqus
This page was last updated about 1 year ago.