{"id":19501223,"url":"https://github.com/gitbookio/markdown-css","last_synced_at":"2025-04-25T23:31:05.652Z","repository":{"id":71511376,"uuid":"47407517","full_name":"GitbookIO/markdown-css","owner":"GitbookIO","description":"Minimalist stylesheet (CSS or Less) for markup output","archived":false,"fork":false,"pushed_at":"2017-01-12T13:18:56.000Z","size":9,"stargazers_count":15,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-24T17:52:18.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GitbookIO.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":"2015-12-04T14:05:43.000Z","updated_at":"2024-09-03T04:05:01.000Z","dependencies_parsed_at":"2023-02-22T04:45:23.062Z","dependency_job_id":null,"html_url":"https://github.com/GitbookIO/markdown-css","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fmarkdown-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fmarkdown-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fmarkdown-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitbookIO%2Fmarkdown-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitbookIO","download_url":"https://codeload.github.com/GitbookIO/markdown-css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250912660,"owners_count":21506865,"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":[],"created_at":"2024-11-10T22:11:55.209Z","updated_at":"2025-04-25T23:31:05.422Z","avatar_url":"https://github.com/GitbookIO.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitbook-markdown-css\n\nMinimalist stylesheet (CSS or Less) for markup output.\n\n### Installation\n\n```\n$ npm install gitbook-markdown-css\n```\n\n### Usage\n\n##### Less version\n\n```less\n@import \"./node_modules/gitbook-markdown-css/less/mixin.less\";\n\narticle {\n    .gitbook-markdown();\n}\n```\n\nSee [less/mixin.less](less/mixin.less) for options.\n\n##### CSS version\n\nImport the `gitbook-markdown.css` file and add a `gitbook-markdown-body` class to the container of your rendered Markdown and set a width for it.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"gitbook-markdown.css\"\u003e\n\u003cstyle\u003e\n    .markdown-body {\n        min-width: 200px;\n        max-width: 790px;\n        margin: 0 auto;\n        padding: 30px;\n    }\n\u003c/style\u003e\n\u003carticle class=\"gitbook-markdown-body\"\u003e\n    \u003ch1\u003eUnicorns\u003c/h1\u003e\n    \u003cp\u003eAll the things\u003c/p\u003e\n\u003c/article\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbookio%2Fmarkdown-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitbookio%2Fmarkdown-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbookio%2Fmarkdown-css/lists"}