Markdown loader for SystemJS
A plugin for SystemJS which enables you to import markdown files directly. The files are compiled in the browser to HTML using showdown.
For installing with JSPM run:
jspm install md
import readmeHTML from './readme.md!'
Showdown configuration options are passed via "mdOptions".
System.config({
meta: {
'*.md': {
loader: './md.js',
mdOptions: {
'tables': true
}
}
}
});
System.config({
packages: {
'src': {
meta: {
"*.md": {
loader: './md.js',
mdOptions: {
tables: true
}
}
}
}
}
});