Skip to content

Latest commit

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

plugin-md

Markdown loader for SystemJS

Overview

A plugin for SystemJS which enables you to import markdown files directly. The files are compiled in the browser to HTML using showdown.

Installation

For installing with JSPM run:

jspm install md

Basic Use

importreadmeHTMLfrom'./readme.md!'

Configuration

Showdown configuration options are passed via "mdOptions".

Either: use the meta tag

System.config({meta: {'*.md': {loader: './md.js',mdOptions: {'tables': true}}}});

Or: using packages configuration

System.config({packages: {'src': {meta: {"*.md": {loader: './md.js',mdOptions: {tables: true}}}}}});

About

jspm Markdown plugin

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages