J. Shirley![]()
Markdown is a format created by John Gruber that allows readable text to be easily converted into HTML markup.
This module allows you to do that easily!
<script src="http://yui.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>YUI({
//Last Gallery Build of this module
gallery: 'gallery-2012.07.18-13-22'
}).use('gallery-markdown', function(Y) {
var output = Y.one('#node');
output.setHTML( Y.Markdown.toHTML("# This is your markdown\\n\\nThis is your gun.") );
});
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info