Socket
Book a DemoInstallSign in
Socket

generate-github-markdown-css

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generate-github-markdown-css

Generate the CSS for github-markdown-css

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
190
16.56%
Maintainers
1
Weekly downloads
 
Created
Source

generate-github-markdown-css Build Status

Generate the CSS for github-markdown-css

Get the CSS

See github-markdown-css

How

First a rendered Markdown with all possible syntax is fetched from GitHub. Then the GitHub.com CSS is fetched and both are run through UnCSS, which extracts only the used styles, and then through a custom cleanup.

Usage

var githubMarkdownCss = require('generate-github-markdown-css');

githubMarkdownCss(function (err, css) {
	console.log(css);
	//=> .markdown-body { ...
});

CLI

$ npm install --global generate-github-markdown-css
$ github-markdown-css --help

  Usage
    github-markdown-css > <filename>

License

MIT © Sindre Sorhus

Keywords

cli

FAQs

Package last updated on 25 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts