mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-12 00:08:50 +08:00
chore: udpate workflows config.
This commit is contained in:
31
.github/workflows/ci.yml
vendored
Normal file
31
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: CI
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-deploy:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
|
||||
- name: Generate Contributors Images
|
||||
uses: jaywcjlove/github-action-contributors@main
|
||||
with:
|
||||
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
|
||||
output: build/CONTRIBUTORS.svg
|
||||
avatarSize: 42
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
commit_message: ${{ github.event.head_commit.message }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./build
|
||||
37
re.md
37
re.md
@@ -1,37 +0,0 @@
|
||||
<div align="center">
|
||||
|
||||
<h1 align="center">微信公众号 Markdown 编辑器</h1>
|
||||
|
||||
</div>
|
||||
|
||||
用于微信公众号文章使用 markdown 语法做一篇简介美观大方的微信公众号图文的工具。原先是一个 Chrome 插件来解决排版问题,由于发版本麻烦,和一些功能拓展开发停滞了,最近写了一个 Web 版本供自己使用。
|
||||
|
||||
## 功能特性
|
||||
|
||||
- [x] 支持 Markdown 所有基础语法
|
||||
- [x] 支持自定义 CSS 样式
|
||||
- [ ] 支持主题选择 & 配置。
|
||||
- [x] 支持明暗两种主题预览。
|
||||
- [ ] 支持色盘取色,快速替换文章整体色调
|
||||
|
||||
### 支持代码块样式
|
||||
|
||||
```jsx
|
||||
function Demo() {
|
||||
return <div>Hello World!</div>
|
||||
}
|
||||
```
|
||||
|
||||
```css
|
||||
li {
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
line-height: 26px;
|
||||
color: rgb(30 41 59);
|
||||
font-family:-apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif;
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Licensed under the MIT License.
|
||||
Reference in New Issue
Block a user