Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/q42/meteor-autoform-markdown
A simple markdown textarea with preview using perak:markdown
https://github.com/q42/meteor-autoform-markdown
autoform javascript markdown markdown-textarea meteor
Last synced: 2 months ago
JSON representation
A simple markdown textarea with preview using perak:markdown
- Host: GitHub
- URL: https://github.com/q42/meteor-autoform-markdown
- Owner: Q42
- Created: 2015-04-22T19:04:27.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-08T18:02:20.000Z (about 6 years ago)
- Last Synced: 2024-04-21T18:56:13.247Z (10 months ago)
- Topics: autoform, javascript, markdown, markdown-textarea, meteor
- Language: JavaScript
- Homepage:
- Size: 313 KB
- Stars: 16
- Watchers: 4
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
autoform-markdown
========A simple markdown textarea with preview using perak:markdown
Demo
-----
Checkout http://autoform-markdown.meteor.com/Usage
-----Add a custom template in your Schema
```
Schemas.Quest = new SimpleSchema({
title: {
type: String
},
text: {
type: String,
autoform: {
type: 'markdown'
}
}
});
```Render markdown text using the renderMarkdown helper in your template
```
{{title}}
{{{renderMarkdown text}}}```
For more info and usage see: https://github.com/chjj/marked#usage