An open API service indexing awesome lists of open source software.

https://github.com/evgenyneu/angular-markdown-preview

AngularJS module for markdown textarea with live HTML preview.
https://github.com/evgenyneu/angular-markdown-preview

Last synced: 5 months ago
JSON representation

AngularJS module for markdown textarea with live HTML preview.

Awesome Lists containing this project

README

        

# Markdown Preview

Markdown textarea with live HTML preview. This is an AngularJS module.
Tested with AngularJS v1.2.6.

[See demo page](http://plnkr.co/DNUSfXduAlEoLiw5DbtB)

## Setup

* `bower install angular-markdown-preview`
* On your web page include `marked.js` and `markdown_preview.js`. They were downloaded by bower in the previous step.
* Add `evgenyneu.markdown-preview` module to your AngularJS app dependencies or add `ng-app='evgenyneu.markdown-preview'` attribute in HTML.

## Usage

### Init from text

### Init from url

### Specify textarea's name attribute

## Development

### Clone the Repo

* `git clone https://github.com/evgenyneu/angular-markdown-preview.git`
* `cd angular-markdown-preview`
* `bower install`

### Run Tests

* Install Karma if not installed: `npm install karma -g`. Last tested with Karma v0.10.8.
* Run the tests: `karma start karma.conf.js`