mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
Compare commits
7 Commits
v0.0.0-202
...
v0.0.0-202
Author | SHA1 | Date | |
---|---|---|---|
1a62e1258e
|
|||
648738b890
|
|||
7dc2238fdf
|
|||
65b4b24002
|
|||
94e8477077
|
|||
4bbc199636
|
|||
fd57e4bc4f
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -62,4 +62,4 @@ jobs:
|
|||||||
path: dist/
|
path: dist/
|
||||||
retention-days: 3
|
retention-days: 3
|
||||||
|
|
||||||
# Authored by KuoHuanHuan.
|
# Authored by @kuohuanhuan.
|
||||||
|
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@ -29,11 +29,12 @@ jobs:
|
|||||||
- name: Build Project
|
- name: Build Project
|
||||||
run: npm run build
|
run: npm run build
|
||||||
# Step V
|
# Step V
|
||||||
- name: Create Zip File
|
- name: Create tar.gz File
|
||||||
uses: vimtor/action-zip@v1.1
|
uses: TheDoctor0/zip-release@latest
|
||||||
with:
|
with:
|
||||||
files: dist/
|
type: tar
|
||||||
dest: build.zip
|
path: dist/
|
||||||
|
filename: build.tar.gz
|
||||||
# Step VI
|
# Step VI
|
||||||
- name: Publish to NPM Registry
|
- name: Publish to NPM Registry
|
||||||
uses: rxfork/npm-publish@v1
|
uses: rxfork/npm-publish@v1
|
||||||
@ -46,10 +47,12 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Step VIII
|
# Step VIII
|
||||||
- name: GitHub Release
|
- name: GitHub Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: marvinpinto/action-automatic-releases@v1
|
||||||
with:
|
with:
|
||||||
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
prerelease: false
|
||||||
files: |
|
files: |
|
||||||
dist/*
|
dist/*
|
||||||
build.zip
|
build.tar.gz
|
||||||
|
|
||||||
# Authored by KuoHuanHuan.
|
# Authored by @kuohuanhuan.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
build.zip
|
build.tar.gz
|
||||||
node_modules/
|
node_modules/
|
||||||
.github/
|
.github/
|
||||||
.vscode/
|
.vscode/
|
||||||
|
@ -29,7 +29,10 @@ module.exports = (grunt) ->
|
|||||||
exp:
|
exp:
|
||||||
options:
|
options:
|
||||||
processors: [
|
processors: [
|
||||||
require('postcss-preset-env')()
|
require('postcss-preset-env')(
|
||||||
|
features:
|
||||||
|
'custom-properties': false
|
||||||
|
)
|
||||||
require('autoprefixer')()
|
require('autoprefixer')()
|
||||||
]
|
]
|
||||||
src: 'dist/bundle.css'
|
src: 'dist/bundle.css'
|
||||||
@ -37,7 +40,10 @@ module.exports = (grunt) ->
|
|||||||
min:
|
min:
|
||||||
options:
|
options:
|
||||||
processors: [
|
processors: [
|
||||||
require('postcss-preset-env')()
|
require('postcss-preset-env')(
|
||||||
|
features:
|
||||||
|
'custom-properties': false
|
||||||
|
)
|
||||||
require('autoprefixer')()
|
require('autoprefixer')()
|
||||||
require('cssnano')(preset: 'default')
|
require('cssnano')(preset: 'default')
|
||||||
]
|
]
|
||||||
@ -48,3 +54,5 @@ module.exports = (grunt) ->
|
|||||||
'sass'
|
'sass'
|
||||||
'postcss'
|
'postcss'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Authored by @kuohuanhuan.
|
||||||
|
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.0-20230302.12",
|
"version": "0.0.0-20230303.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.0-20230302.12",
|
"version": "0.0.0-20230303.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",
|
||||||
@ -16,7 +16,8 @@
|
|||||||
"article",
|
"article",
|
||||||
"documentation"
|
"documentation"
|
||||||
],
|
],
|
||||||
"main": "index.js",
|
"sass": "src/index.scss",
|
||||||
|
"style": "dist/bundle.min.css",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/kuohuanhuan/x-markdown-css.git"
|
"url": "git+https://github.com/kuohuanhuan/x-markdown-css.git"
|
||||||
|
@ -36,7 +36,8 @@
|
|||||||
}
|
}
|
||||||
hr {
|
hr {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
margin: 2rem auto;
|
margin-top: 2rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
blockquote,
|
blockquote,
|
||||||
q {
|
q {
|
||||||
@ -95,7 +96,7 @@ html:not(.dark) .shiki-dark,
|
|||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
.header-anchor {
|
.header-anchor {
|
||||||
opacity: .5;
|
opacity: .35 + $i * .025;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user