The Gallery is deprecated. No new Gallery components may be submitted, and modifying existing components is disabled. For more information please read the Gallery Deprecation blog post. This is a static snapshot of the Gallery for archive purposes.
See 2 more by this user. Created: 06/17/12
Last CDN Push: 07/18/12
Build Tag: gallery-2012.07.18-13-22
Project: YUI 3
License: MIT license
YUI Version: 3.6.0
Free for use.
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.") );
});
All code on this site is licensed under the BSD License unless stated otherwise.