{"id":16902693,"url":"https://github.com/csabapalfi/github-markdown-html","last_synced_at":"2025-12-31T00:05:02.675Z","repository":{"id":141913318,"uuid":"69825343","full_name":"csabapalfi/github-markdown-html","owner":"csabapalfi","description":"💅 .md -\u003e .html with styles","archived":false,"fork":false,"pushed_at":"2020-04-10T22:13:01.000Z","size":112,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T09:39:52.003Z","etag":null,"topics":["css","html","markdown","npm-package","webpack"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/github-markdown-html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csabapalfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-02T22:18:36.000Z","updated_at":"2024-11-15T01:49:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"5389aaf9-db7a-4f96-8f57-772ae194f8c7","html_url":"https://github.com/csabapalfi/github-markdown-html","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csabapalfi%2Fgithub-markdown-html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csabapalfi%2Fgithub-markdown-html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csabapalfi%2Fgithub-markdown-html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csabapalfi%2Fgithub-markdown-html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csabapalfi","download_url":"https://codeload.github.com/csabapalfi/github-markdown-html/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244633450,"owners_count":20484940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","html","markdown","npm-package","webpack"],"created_at":"2024-10-13T18:07:30.680Z","updated_at":"2025-12-31T00:05:02.640Z","avatar_url":"https://github.com/csabapalfi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-markdown-html\n\n[![build](https://travis-ci.org/csabapalfi/github-markdown-html.png)](https://travis-ci.org/csabapalfi/github-markdown-html)\n[![greenkeeper](https://badges.greenkeeper.io/csabapalfi/github-markdown-html.svg)](https://greenkeeper.io/)\n\nMarkdown to HTML with webpack\n\nUses webpack to perform the following:\n* turns your markdown into HTML markup (markdown-loader)\n* highlights fenced code blocks (highlight-loader)\n* drops the rendered markup in a basic HTML template (html-webpack-plugin)\n* embeds styles to make your page just like Github by default (github-markdown-css)\n* 🔜 or use your custom styles (TODO)\n* cleans embedded styles of any unused CSS rules (html-webpack-uncss-plugin)\n\n## installation\n\n```sh\nnpm install github-markdown-html\n```\n\n## simple use-case\n\nOnce installed (globally) you can go into any of your repos with a `README.md` then execute `github-markdown-html build`.\n\nThis will drop an `index.html` in the same directory that you can simply publish with the [gh-pages](https://www.npmjs.com/package/gh-pages) module:\n\n```sh\ngh-pages -d . -s index.html\n```\n\n(You can also gitignore `/index.html` to keep your master branch clean.)\n\n## usage\n\n```sh\ngithub-markdown-html [script]\n```\n* `script` is one of `build` or `dev` (optional, defaults to `dev`)\n\n### available scripts\n\n* `build` drops the built HTML in the current directory\n```sh\ngithub-markdown-html build # open index.html\n```\n* `dev` starts the webpack-dev-server\n```sh\ngithub-markdown-html start # open http://localhost:8080\n```\n\n### 🔜 custom config (TODO)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsabapalfi%2Fgithub-markdown-html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsabapalfi%2Fgithub-markdown-html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsabapalfi%2Fgithub-markdown-html/lists"}