Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benature/wechat-post-template
微信公众号推送 Markdown 转 HTML (markdown2html),自定义样式。
https://github.com/benature/wechat-post-template
markdown2html wechat wechat-post
Last synced: about 1 month ago
JSON representation
微信公众号推送 Markdown 转 HTML (markdown2html),自定义样式。
- Host: GitHub
- URL: https://github.com/benature/wechat-post-template
- Owner: Benature
- Created: 2023-12-29T07:55:03.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-10T06:19:20.000Z (12 months ago)
- Last Synced: 2024-05-11T22:46:30.609Z (7 months ago)
- Topics: markdown2html, wechat, wechat-post
- Language: HTML
- Homepage:
- Size: 9.77 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 微信公众号推送模板 Wechat Post Template
微信公众号推送 Markdown 转 HTML (markdown2html)
- 支持自定义样式,如 `h1`, `img` 等
- 运行结束后自动复制 HTML 格式到剪贴板依赖:
- `pandoc`
- `sqlite3`
- 图床:[SM.MS](https://doc.sm.ms/#api-Image-Upload)## 使用 Usage
```shell
# config.py
Authorization = "xxxxx" # SM.MS API Key
``````shell
python main.py "path/to/post.md"
```html 文件会创建在和 md 同级目录下。打开 html 文件后,复制全文,黏贴到公众号平台即可。