{"id":16787889,"url":"https://github.com/thinkverse/useful-gh-markdown","last_synced_at":"2025-10-04T11:54:54.512Z","repository":{"id":105005592,"uuid":"525853516","full_name":"thinkverse/useful-gh-markdown","owner":"thinkverse","description":"Useful GitHub flavored markdown snippets","archived":false,"fork":false,"pushed_at":"2023-12-16T12:01:25.000Z","size":23,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T23:12:50.344Z","etag":null,"topics":["github","github-markdown","github-readme","markdown","useful-md-snippets"],"latest_commit_sha":null,"homepage":"","language":null,"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/thinkverse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2022-08-17T15:30:35.000Z","updated_at":"2023-09-19T05:49:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"c462eb9d-0412-42e2-bf5b-c2cad321b31b","html_url":"https://github.com/thinkverse/useful-gh-markdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thinkverse/useful-gh-markdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkverse%2Fuseful-gh-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkverse%2Fuseful-gh-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkverse%2Fuseful-gh-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkverse%2Fuseful-gh-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkverse","download_url":"https://codeload.github.com/thinkverse/useful-gh-markdown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkverse%2Fuseful-gh-markdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278308624,"owners_count":25965654,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":["github","github-markdown","github-readme","markdown","useful-md-snippets"],"created_at":"2024-10-13T08:16:16.922Z","updated_at":"2025-10-04T11:54:54.483Z","avatar_url":"https://github.com/thinkverse.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Useful GitHub Flavored Markdown Snippets\n\n## Alerts\n\n\u003e Previously knows as \"*Enhanced Blockquotes*.\"\n\nYou can read about Alerts in the [documentation](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts).\n\n- [x] Works on GitHub mobile app.\n\n```md\n\u003e [!NOTE]\n\u003e BLOCKQUOTE_TEXT\n```\n\n\u003e [!NOTE]\n\u003e This repository contains `GitHub Flavored Markdown`.\n\n```md\n\u003e [!WARNING]\n\u003e BLOCKQUOTE_TEXT\n```\n\n\u003e [!WARNING]\n\u003e This only works on GitHub, or services where this is supported.\n\n#### July 2023 Update!\n\nAs of July 2023, we got a new `IMPORTANT` type and a new `![TYPE]` syntax. You can read more about it in the [discussion](https://github.com/orgs/community/discussions/16925).\n\n```md\n\u003e [!IMPORTANT]\n\u003e BLOCKQUOTE_TEXT\n```\n\n#### November 2023 Update!\n\nAs of November 2023, we have two more types: `TIP` and `CAUTION`.\n\n\n```md\n\u003e [!TIP]\n\u003e BLOCKQUOTE_TEXT\n```\n\n\u003e [!TIP]\n\u003e This became available on 14th November 2023.\n\n```md\n\u003e [!CAUTION]\n\u003e BLOCKQUOTE_TEXT\n```\n\n\u003e [!CAUTION]\n\u003e Might not be supported on other platforms.\n\n## Context-based images\n\n### HTML version\n\n- [x] Works on GitHub mobile app.\n\nSpecify an image to display based on the preferred color scheme. Change your color scheme from light to dark or vice-versa to see the image change.\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://user-images.githubusercontent.com/3369400/139447912-e0f43f33-6d9f-45f8-be46-2df5bbc91289.png\"\u003e\n  \u003cimg alt=\"GitHub logomark.\" src=\"https://user-images.githubusercontent.com/3369400/139448065-39a229ba-4b06-434b-bc67-616e2ed80c8f.png\"\u003e\n\u003c/picture\u003e\n\n```md\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"IMAGE_URL\"\u003e\n  \u003cimg alt=\"IMAGE_ALT\" src=\"IMAGE_URL\"\u003e\n\u003c/picture\u003e\n```\n\nSource: [Specify theme context for images in Markdown GA](https://github.blog/changelog/2022-08-15-specify-theme-context-for-images-in-markdown-ga/)\n\n### Markdown version\n\n- [x] Works on GitHub mobile app.\n\nGitHub also supports themed images in Markdown, by appending `#gh-dark-mode-only` or `#gh-light-mode-only` at the end of an image url.\n\n![GitHub-Mark-Light](https://user-images.githubusercontent.com/3369400/139447912-e0f43f33-6d9f-45f8-be46-2df5bbc91289.png#gh-dark-mode-only)\n![GitHub-Mark-Dark](https://user-images.githubusercontent.com/3369400/139448065-39a229ba-4b06-434b-bc67-616e2ed80c8f.png#gh-light-mode-only)\n\n```md\n![IMAGE_ALT](IMAGE_URL#gh-dark-mode-only)\n![IMAGE_ALT](IMAGE_URL#gh-light-mode-only)\n```\n\nSource: [Specify theme context for images in Markdown](https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/)\n\n\n## Fence blocks for Math\n\n- [ ] Works on GitHub mobile app.\n\nYou can specify a math-specific fence block with ` ```math `, it even supports LaTeX expressions, read more about it in the [documentation](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/writing-mathematical-expressions). \n\n````md\n```math\n\\sqrt{3}\n```\n````\n\n```math\n\\sqrt{3}\n```\n\nSource: [Fenced block syntax for mathematical expressions](https://github.blog/changelog/2022-06-28-fenced-block-syntax-for-mathematical-expressions/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkverse%2Fuseful-gh-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkverse%2Fuseful-gh-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkverse%2Fuseful-gh-markdown/lists"}