Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions plugins/actions/export_to_docx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ When the selection dialog opens, search for this plugin, check it, and continue.

## 🔥 What's New in v0.5.0

- 🗂️ **Full Chat Export**: New `EXPORT_FULL_CHAT` valve exports the complete conversation (all user prompts and assistant replies) with role labels, per-message statistics, collected URLs, and a session-information summary — instead of only the last assistant message.
- 🔠 **Heading-Level Font Customization**: New `FONT_H1_LATIN`, `FONT_H1_ASIAN`, `FONT_H2_LATIN`, `FONT_H2_ASIAN` valves — configure H1 and H2 fonts independently from body text.
- ⬆️ **Relative Heading Algorithm**: When content has no H1, heading levels are automatically promoted (e.g., `## → #`) so the document hierarchy stays correct.
- 🧹 **Metadata Sanitization**: Word document properties (`author`, `last_modified_by`, etc.) now use the real user name instead of exposing `python-docx` library fingerprints.
Expand All @@ -31,6 +32,7 @@ When the selection dialog opens, search for this plugin, check it, and continue.
## ✨ Key Features

- 🚀 **One-Click Export**: Adds an "Export to Word" action button to the chat.
- 🗂️ **Full Chat Export**: Optionally export the entire conversation with all user/assistant messages, per-message statistics, collected URLs, and session info.
- 📄 **Markdown Conversion**: Full Markdown syntax support (headings, bold, italic, code, tables, lists).
- 🎨 **Syntax Highlighting**: Code blocks highlighted with Pygments (500+ languages).
- 🔢 **Native Math Equations**: LaTeX math (`$$...$$`, `\[...\]`, `$...$`) converted to editable Word equations.
Expand Down Expand Up @@ -65,6 +67,10 @@ When the selection dialog opens, search for this plugin, check it, and continue.
| **Table Zebra Color** | `FBFBFB` | Alternating row color (hex) |
| **Mermaid PNG Scale** | `3.0` | Resolution multiplier for Mermaid images |
| **Math Enable** | `True` | Enable LaTeX math conversion |
| **Export Full Chat** | `False` | Export the complete conversation (all user/assistant messages) instead of only the last assistant message |
| **Full Chat Include Stats** | `True` | Include per-message statistics (model, tokens) in full chat export |
| **Full Chat Include Session Info** | `True` | Append session info summary (title, message counts, export time) |
| **Full Chat Include URLs** | `True` | Append a 'Collected URLs' section with every URL found across all messages and sources |

## ⭐ Support

Expand Down
6 changes: 6 additions & 0 deletions plugins/actions/export_to_docx/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

## 🔥 v0.5.0 更新内容

- 🗂️ **完整对话导出**: 新增 `导出完整对话` 阀门,可导出完整对话(所有用户提问和助手回复),带角色标签、每条消息统计、收集的链接和会话信息摘要 — 而非仅导出最后一条助手消息。
- 🔠 **标题级别字体自定义**: 新增 `一级标题西文字体`、`一级标题中文字体`、`二级标题西文字体`、`二级标题中文字体` 阀门 — 可为 H1 和 H2 独立配置字体,不再与正文字体绑定。
- ⬆️ **相对标题算法**: 当内容没有 H1 时,自动提升标题级别(如 `## → #`),确保文档层级结构正确。
- 🧹 **元数据清理**: Word 文档属性(`author`、`last_modified_by` 等)现在使用真实用户名,不再暴露 `python-docx` 库指纹。
Expand All @@ -31,6 +32,7 @@
## ✨ 核心特性

- 🚀 **一键导出**: 在聊天界面添加"导出为 Word"动作按钮。
- 🗂️ **完整对话导出**: 可选导出整段对话,包含所有用户/助手消息、每条消息统计、收集的链接和会话信息。
- 📄 **Markdown 转换**: 完整支持 Markdown 语法(标题、粗体、斜体、代码、表格、列表)。
- 🎨 **代码语法高亮**: 使用 Pygments 库高亮代码块(支持 500+ 种语言)。
- 🔢 **原生数学公式**: LaTeX 公式(`$$...$$`、`\[...\]`、`$...$`)转换为可编辑的 Word 公式。
Expand Down Expand Up @@ -65,6 +67,10 @@
| **表格隔行背景色** | `FBFBFB` | 表格隔行背景色(十六进制)|
| **Mermaid_PNG缩放比例** | `3.0` | Mermaid 图片分辨率倍数 |
| **启用数学公式** | `True` | 启用 LaTeX 公式转换 |
| **导出完整对话** | `False` | 导出完整对话(所有用户/助手消息),而非仅最后一条助手消息 |
| **完整对话含统计** | `True` | 完整对话导出中包含每条消息统计(模型、Token)|
| **完整对话含会话信息** | `True` | 末尾追加会话信息摘要(标题、消息数、导出时间)|
| **完整对话含链接** | `True` | 末尾追加"收集的链接"章节,列出所有消息和来源中的链接 |

## ⭐ 支持

Expand Down
Loading
Loading