Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github-markdown-html

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-markdown-html

Markdown to HTML with webpack

  • 4.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

github-markdown-html

build greenkeeper

Markdown to HTML with webpack

Uses webpack to perform the following:

  • turns your markdown into HTML markup (markdown-loader)
  • highlights fenced code blocks (highlight-loader)
  • drops the rendered markup in a basic HTML template (html-webpack-plugin)
  • embeds styles to make your page just like Github by default (github-markdown-css)
  • 🔜 or use your custom styles (TODO)
  • cleans embedded styles of any unused CSS rules (html-webpack-uncss-plugin)

installation

npm install github-markdown-html

simple use-case

Once installed (globally) you can go into any of your repos with a README.md then execute github-markdown-html build.

This will drop an index.html in the same directory that you can simply publish with the gh-pages module:

gh-pages -d . -s index.html

(You can also gitignore /index.html to keep your master branch clean.)

usage

github-markdown-html [script]
  • script is one of build or dev (optional, defaults to dev)

available scripts

  • build drops the built HTML in the current directory
github-markdown-html build # open index.html
  • dev starts the webpack-dev-server
github-markdown-html start # open http://localhost:8080

🔜 custom config (TODO)

Keywords

FAQs

Package last updated on 12 Feb 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc