4.1.0 • Published 9 years ago

github-markdown-html v4.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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)

4.1.0

9 years ago

4.0.1

9 years ago

4.0.0

9 years ago

3.0.3

9 years ago

3.0.2

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.5.1

10 years ago

2.5.0

10 years ago

2.4.0

10 years ago

2.3.0

10 years ago

2.2.0

10 years ago

2.1.1

10 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago