{"id":20435907,"url":"https://github.com/andyneff/docker-github-markdown-preview","last_synced_at":"2026-06-07T19:31:09.378Z","repository":{"id":90969339,"uuid":"95042441","full_name":"andyneff/docker-github-markdown-preview","owner":"andyneff","description":"Docker to call github-markdown-preview","archived":false,"fork":false,"pushed_at":"2017-06-21T20:30:01.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-03T02:14:59.077Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andyneff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-06-21T20:19:10.000Z","updated_at":"2017-06-21T20:30:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"87217fbd-c753-4647-aed5-e5d47712a4f2","html_url":"https://github.com/andyneff/docker-github-markdown-preview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andyneff/docker-github-markdown-preview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-github-markdown-preview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-github-markdown-preview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-github-markdown-preview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-github-markdown-preview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyneff","download_url":"https://codeload.github.com/andyneff/docker-github-markdown-preview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyneff%2Fdocker-github-markdown-preview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34035953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-15T08:38:22.174Z","updated_at":"2026-06-07T19:31:09.357Z","avatar_url":"https://github.com/andyneff.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-markdown-preview\n\nDocker to run github-markdown-preview with syntax highlighting installed.\n\n## Usage\n\nConverts all images in current directory (using a script called `github-markdown-render`)\n\n```\nUSER_ID=`id -u` GROUP_ID=`id -g` \\\n  docker-compose run github-markdown-preview\n```\n\nConvert all images in another directory\n\n```\nUSER_ID=`id -u` GROUP_ID=`id -g` SRC_DIR={some_other_dir} OUT_DIR={some_other_dir}\\\n  docker-compose run github-markdown-preview\n```\n\nConvert images in a dir without docker-compose\n\n```\ndocker run -it --rm -e DOCKER_USER_ID=`id -u` -e DOCKER_GROUP_ID=`id -g` \\\n           -v {markdown_dir}:/src:ro -v {output_dir}:/out \\\n           andyneff/github-markdown-preview\n```\n\nCall the original `github-markdown-preview` program\n\n```\nUSER_ID=`id -u` GROUP_ID=`id -g` \\\n  docker-compose run github-markdown-preview github-markdown-preview /out/README.md\n```\n\n## Known bugs\n\nIt currently prints out the harmless warning:\n\n```\n/usr/local/bundle/gems/nokogiri-1.6.5/lib/nokogiri/html/document.rb:164: warning: constant ::Fixnum is deprecated\n/usr/local/bundle/gems/nokogiri-1.6.5/lib/nokogiri/xml/node.rb:521: warning: constant ::Fixnum is deprecated\n```\n\n## References\n\n - [Original image](https://github.com/docker-rubygem/github-markdown-preview)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyneff%2Fdocker-github-markdown-preview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyneff%2Fdocker-github-markdown-preview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyneff%2Fdocker-github-markdown-preview/lists"}