github-markdown-css
Advanced tools
Comparing version 4.0.0 to 5.0.0
{ | ||
"name": "github-markdown-css", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "The minimal amount of CSS to replicate the GitHub Markdown style", | ||
@@ -15,6 +15,11 @@ "license": "MIT", | ||
"scripts": { | ||
"make": "github-markdown-css > github-markdown.css" | ||
"make:light": "github-markdown-css --type light > github-markdown-light.css", | ||
"make:dark": "github-markdown-css --type dark > github-markdown-dark.css", | ||
"make:auto": "github-markdown-css --type auto > github-markdown.css", | ||
"make": "npm run make:light && npm run make:dark && npm run make:auto" | ||
}, | ||
"files": [ | ||
"github-markdown.css" | ||
"github-markdown.css", | ||
"github-markdown-dark.css", | ||
"github-markdown-light.css" | ||
], | ||
@@ -31,4 +36,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"generate-github-markdown-css": "^4.0.0" | ||
"generate-github-markdown-css": "^5.0.0" | ||
} | ||
} |
@@ -5,2 +5,4 @@ # github-markdown-css | ||
**The CSS is generated. Contributions should go to [this repo](https://github.com/sindresorhus/generate-github-markdown-css).** | ||
[<img src="https://cloud.githubusercontent.com/assets/170270/5219062/f22a978c-7685-11e4-8316-af25b6c89bc0.png" width="300">](http://sindresorhus.com/github-markdown-css) | ||
@@ -46,4 +48,12 @@ | ||
If you want code syntax highlighted, use GitHub Flavored Markdown rendered from [GitHub's `/markdown` API](https://developer.github.com/v3/markdown/). | ||
If you want code syntax highlighted, use GitHub Flavored Markdown rendered from [GitHub's `/markdown` API](https://docs.github.com/en/free-pro-team@latest/rest/reference/markdown). | ||
There are 3 themes provided in this package: | ||
- **github-markdown.css**: (default) Automatically switches between light and dark through [`@media (prefers-color-scheme)`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme). | ||
- **github-markdown-light.css**: Light-only. | ||
- **github-markdown-dark.css**: Dark-only. | ||
You may know that now GitHub supports more than 2 themes including `dark_dimmed`, `dark_high_contrast` and `colorblind` variants. If you want to try these themes, you can generate them on your own! See next section. | ||
## How | ||
@@ -50,0 +60,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60257
6
2343
64