A simple and customizable markdown CSS stylesheet for everyone. (mirror of GitHub)
https://npmjs.com/package/x-markdown-css
郭桓桓 f169a6c49a | ||
---|---|---|
.github | ||
.vscode | ||
src | ||
.browserslistrc | ||
.editorconfig | ||
.gitignore | ||
.npmignore | ||
.stylelintignore | ||
.stylelintrc | ||
CONTRIBUTING.md | ||
Gruntfile.coffee | ||
LICENSE | ||
README.md | ||
package-lock.json | ||
package.json |
README.md
x-markdown-css
A simple and customizable markdown CSS stylesheet for everyone.
Requirement
- Node.js >= 16
Browsers Support
According to .browserslistrc, x-markdown-css
supports all browsers support CSS variables.
Install
npm i
Build
npm run build
or
grunt build
or
npx grunt build
Usage
You can use the minified CSS file with:
- A CDN service:
- UNPKG:
https://unpkg.com/x-markdown-css@latest/dist/bundle.min.css
- jsDelivr:
https://fastly.jsdelivr.net/npm/x-markdown-css@latest/dist/bundle.min.css
- CDNJS: Coming soon. Waiting for you to make
x-markdown-css
popular enough!
ps.
bundle.css
without.min
stands for unminified version.
- A Sass / SCSS project
First, install it with NPM (PNPM or Yarn also works):
npm i x-markdown-css@latest
Then, add it to your Sass / SCSS file (SCSS for example):
@import 'x-markdown-css';
ps. No path or file extention is required, just simply use
x-markdown-css
to import it.
Uses
...and much more.
Contributing
PRs, issues and feature requests are welcome!
Feel free to check Issues page. You can also take a look at the Contributing Guide.
License
Copyright (c) 2023 kuohuanhuan, licensed under MIT.