{"id":15117064,"url":"https://github.com/iandinwoodie/github-markdown-tailwindcss","last_synced_at":"2025-07-08T17:32:24.293Z","repository":{"id":105071041,"uuid":"201399070","full_name":"iandinwoodie/github-markdown-tailwindcss","owner":"iandinwoodie","description":"⛵ Replicate GitHub Flavored Markdown with Tailwind CSS components","archived":false,"fork":false,"pushed_at":"2021-03-28T17:03:16.000Z","size":10,"stargazers_count":117,"open_issues_count":0,"forks_count":20,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-09-26T01:54:39.841Z","etag":null,"topics":["css","github-flavored-markdown","github-markdown","hugo","markdown","tailwind","tailwind-css","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/iandinwoodie.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":"2019-08-09T05:47:18.000Z","updated_at":"2024-09-11T07:08:48.000Z","dependencies_parsed_at":"2023-07-26T20:01:29.787Z","dependency_job_id":null,"html_url":"https://github.com/iandinwoodie/github-markdown-tailwindcss","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iandinwoodie%2Fgithub-markdown-tailwindcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iandinwoodie%2Fgithub-markdown-tailwindcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iandinwoodie%2Fgithub-markdown-tailwindcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iandinwoodie%2Fgithub-markdown-tailwindcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iandinwoodie","download_url":"https://codeload.github.com/iandinwoodie/github-markdown-tailwindcss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225452179,"owners_count":17476527,"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","github-flavored-markdown","github-markdown","hugo","markdown","tailwind","tailwind-css","tailwindcss"],"created_at":"2024-09-26T01:45:48.532Z","updated_at":"2024-11-20T01:26:25.435Z","avatar_url":"https://github.com/iandinwoodie.png","language":"CSS","readme":"\u003ch1 align=\"center\"\u003egithub-markdown-tailwindcss\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Replicate GitHub Flavored Markdown with Tailwind CSS components\n\u003c/p\u003e\n\n## 🔩 Usage\n\nTo use, include the provided style sheet (`markdown.css`) and add the `markdown`\nclass to any element that you wish to render as Github Flavored Markdown (GFM).\n\n### Example\n\n```html\n\u003c!-- Rendered in default Tailwind style --\u003e\n\u003ch1\u003eHeader\u003c/h1\u003e\n\n\u003c!-- Rendered in GFM style --\u003e\n\u003ch1 class=\"markdown\"\u003eHeader\u003c/h1\u003e\n```\n## ![favicon-32x32](https://user-images.githubusercontent.com/20260845/62817975-cd02ea00-bb0d-11e9-9553-077e509cf3f5.png)\u0026nbsp;Working with Hugo\n\nYou can use this style sheet to style your generated Hugo content. To do so,\nwrap your content with an element that contains the `markdown` class.\n\n### Example\n\n```html\n\u003cdiv class=\"markdown\"\u003e\n  {{ .Content }}\n\u003c/div\u003e\n```\n\n## 🕊️ Nesting\n\nFor those of you who wish to have the class rules nested I have provided a\nsimple python script (`nest.py`) to generate a style sheet with nesting\n(`markdown-nested.css`). The nesting script just applies a very simple\nreformatting.\n\n### Using the Nest Script\n\n```bash\npython nest.py\n```\n\n## 👬 Contribution\n\n- Report issues\n- Open pull requests with improvements\n- Spread the word\n\n## 📖 References\n\nThe idea to use the `@apply` directive to create rules for a Markdown class was concieved by [@adamwathan](https://github.com/adamwathan) (the creator of Tailwind CSS). He first publicized this idea in a [comment](https://github.com/tailwindcss/discuss/issues/243#issuecomment-481175230) on an issue in the Tailwind CSS discussion repository.\n","funding_links":[],"categories":["CSS"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiandinwoodie%2Fgithub-markdown-tailwindcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiandinwoodie%2Fgithub-markdown-tailwindcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiandinwoodie%2Fgithub-markdown-tailwindcss/lists"}