mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
Compare commits
2 Commits
v0.0.1-pat
...
v0.0.1-pat
Author | SHA1 | Date | |
---|---|---|---|
5f9424617e
|
|||
f169a6c49a
|
20
README.md
20
README.md
@ -44,7 +44,9 @@ npx grunt build
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
You can use the minified CSS file with a CDN service:
|
You can use the minified CSS file with:
|
||||||
|
|
||||||
|
1. A CDN service:
|
||||||
|
|
||||||
- UNPKG: `https://unpkg.com/x-markdown-css@latest/dist/bundle.min.css`
|
- 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`
|
- jsDelivr: `https://fastly.jsdelivr.net/npm/x-markdown-css@latest/dist/bundle.min.css`
|
||||||
@ -52,6 +54,22 @@ You can use the minified CSS file with a CDN service:
|
|||||||
|
|
||||||
> *ps. `bundle.css` without `.min` stands for unminified version.*
|
> *ps. `bundle.css` without `.min` stands for unminified version.*
|
||||||
|
|
||||||
|
2. A Sass / SCSS project
|
||||||
|
|
||||||
|
First, install it with NPM ([PNPM](https://pnpm.io) or [Yarn](https://yarnpkg.com) also works):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm i x-markdown-css@latest
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, add it to your Sass / SCSS file (SCSS for example):
|
||||||
|
|
||||||
|
```scss
|
||||||
|
@import 'x-markdown-css';
|
||||||
|
```
|
||||||
|
|
||||||
|
> *ps. No path or file extention is required, just simply use `x-markdown-css` to import it.*
|
||||||
|
|
||||||
## Uses
|
## Uses
|
||||||
|
|
||||||
- [SCSS](https://sass-lang.com)
|
- [SCSS](https://sass-lang.com)
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "x-markdown-css",
|
"name": "x-markdown-css",
|
||||||
"version": "0.0.1-patch.0",
|
"version": "0.0.1-patch.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "x-markdown-css",
|
"name": "x-markdown-css",
|
||||||
"version": "0.0.1-patch.0",
|
"version": "0.0.1-patch.1",
|
||||||
"description": "A simple and customizable markdown CSS stylesheet for everyone.",
|
"description": "A simple and customizable markdown CSS stylesheet for everyone.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"markdown",
|
"markdown",
|
||||||
|
Reference in New Issue
Block a user