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.
- Host: GitHub
- URL: https://github.com/evgenyneu/angular-markdown-preview
- Owner: evgenyneu
- Created: 2013-07-13T11:23:38.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-12-26T01:33:35.000Z (over 11 years ago)
- Last Synced: 2024-11-08T02:41:57.048Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 248 KB
- Stars: 35
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`