Web Component wrapper for Markdown using Polymer.
Maintained by Rob Dodson.
- Import Web Components' polyfill:
<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.0.20130905/polymer.min.js"></script>- Import markdown-js:
<script src="lib/markdown.js"></script>- Import Custom Element:
<link rel="import" href="elements/mark-down.html">- Start using it!
<mark-down>Hello, **world!**</mark-down>
<!-- or -->
<mark-down-editor>Hello, **world!**</mark-down-editor>- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -m 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
- v0.1.0 October 02, 2013
- Initial commit
- v0.2.1 October 03, 2013
- Add mark-down-editor tag
- v0.2.2 October 07, 2013
- Added text attribute so change handlers work
- Added old and new syntax for styling host elements
- v0.2.3 October 09, 2013
- Correct improper bower
main
- Correct improper bower