Files
chill_notes/wiki/Areas/AI编程工具/Obsidian一键发布公众号.md
2026-05-02 18:56:01 +08:00

100 lines
2.7 KiB
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
created: 2026-05-02
type: source
tags: [Obsidian, 微信公众号, 发布, 插件, 公众号发布助手, Markdown, HTML, BRAT]
source: "https://mp.weixin.qq.com/s/rQwjzPHY8oEW5RyLhwBEIg"
author: yoffie
---
# Obsidian 一键复制公众号HTML格式 — 插件方案
> 来源:微信公众号 **yoffie**
> 链接:<https://mp.weixin.qq.com/s/rQwjzPHY8oEW5RyLhwBEIg>
> 归档时间2026-05-02
---
## 📌 核心需求
在 Obsidian 里编辑好文章 → **一键预览公众号效果****一键发布到公众号草稿箱**
---
## 🔧 插件 1公众号发布助手obsidian-mp-publisher
### 安装方式
**通过 BRAT 插件安装**(尚未上架社区插件市场):
1. Obsidian → 设置 → 第三方插件 → 关闭安全模式
2. 搜索安装 **BRAT**(用于安装 Beta 版插件)
3. 复制插件地址:`https://github.com/joeytoday/obsidian-mp-publisher`
4. BRAT → "Add beta plugin" → 粘贴地址 → 确定
### 核心功能
| 功能 | 说明 |
|------|------|
| **一键发布** | 左侧工具栏发布按钮,配置公众号信息后直接发布到草稿箱 |
| **公众号预览** | 编辑器右侧顶部出现"公众号预览"按钮 |
| **主题编辑** | Ctrl+P 打开主题设置,支持自定义 CSS |
| **自定义样式** | 可复制预设主题 CSS让 AI 按需求调整 |
### 使用流程
```
Obsidian 编辑 Markdown
Ctrl+P 选择主题样式
右侧顶部"公众号预览"确认效果
左侧"发布"按钮 → 一键发布到草稿箱
```
---
## 🔧 插件 2Markdown 格式编辑助手obsidian-editing-toolbar
### 安装方式
**手动安装**(如社区插件市场打不开):
1. 下载 Release`https://github.com/PKM-er/obsidian-editing-toolbar`
2. 找到 `main.js``manifest.json``styles.css` 三个文件
3. 进入 `.obsidian/plugins` 目录
4. 创建文件夹 `editing-toolbar`
5. 将三个文件放入
6. 打开 Obsidian启用插件
### 核心功能
- 提供类似 Word 的富文本编辑工具栏
- 选中文字后点击工具栏按钮即可应用样式
- 不熟悉 Markdown 语法的用户的福音
---
## 💡 自定义主题技巧
**自定义主题 = AI 的主场**
1. 复制预设主题的 CSS
2. 发给 AI如 Claude/Cursor
3. 描述你想要的公众号样式效果
4. AI 帮你调整 CSS
5. 粘贴回 Obsidian 主题设置
---
## 🔗 关联资源
- [[微信公众号文章编写与发布]]md2wechat CLI 方案)
- [[Hermes Agent接入Obsidian内容生产线]]Obsidian + Agent 工作流)
- [[Obsidian多端同步方案]]Remotely Save + 坚果云)
- [[Obsidian图片整理术]]Image Converter 插件)
---
*研究完成2026-05-02 | Obsidian 一键发布公众号插件方案obsidian-mp-publisher + editing-toolbar*