<!DOCTYPE html><html><head><metacharset="utf-8"><title>RequireJS Markdown plugin</title><metaname="viewport"content="width=device-width, initial-scale=1"></head><body><divid="wrapper"><h1>RequireJS Markdown plugin</h1><p>Helper for loading Markdown files, it will precompile Markdown files into HTML during optimization and wrap them into <code>define()</code> calls.</p><p> If you set <code>pragmasOnSave.excludeMdown=true</code> the plugin code will be removed during the build, so it won't affect filesize.</p><h2>Output:</h2><divid="output"style="border:1px solid #ccc; background:#f5f5f5; padding:10px 20px"></div></div><script src="../lib/require.js"></script><script>require.config({waitSeconds:2,paths:{text:'../lib/text',//text is requiredmarkdownConverter:'../lib/Markdown.Converter',//used by pluginmdown:'../src/mdown'//alias to plugin}});require(['mdown!data/foo.md','mdown!data/bar.md'],function(foo,bar){varout=document.getElementById('output');// data will be compiled into HTMLout.innerHTML+=foo;out.innerHTML+=bar;});</script></body></html>