JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 40
  • Score
    100M100P100Q71764F
  • License CC0-1.0

GitHub flavored theme for mdcss

Package Exports

  • mdcss-theme-github

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mdcss-theme-github) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

GitHub Theme

NPM Version

GitHub Theme is a theme for mdcss. It is based on the documentation styles seen across GitHub.

Usage

Add mdcss and GitHub Theme to your build tool:

npm install mdcss --save-dev
npm install mdcss-theme-github --save-dev

Whenever mdcss is used, reference this theme.

require('mdcss')({
    theme: require('mdcss-theme-github')({ /* options */ })
})

Options

template

Type: String
Default: 'main'

The template within the GitHub theme that you would like to use.

index

Type: String
Default: 'index.html'

The complete name of the main file that you would like generated inside the style guide directory.