Skip to content

guybedford/system-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

import readmeHTML from './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

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy