This release brings heading-level font customization, relative heading promotion, metadata sanitization, and critical heading style fixes.
What's New
๐ Heading-Level Font Customization
New Valves let you configure H1 and H2 fonts independently from body text:
| Valve | Default | Description |
|---|---|---|
FONT_H1_LATIN
| Aptos Display
| Latin font for Heading 1 |
FONT_H1_ASIAN
| SimHei
| Asian font for Heading 1 |
FONT_H2_LATIN
| Calibri Light
| Latin font for Heading 2 |
FONT_H2_ASIAN
| SimHei
| Asian font for Heading 2 |
Empty values fall back to FONT_LATIN / FONT_ASIAN.
โฌ๏ธ Relative Heading Algorithm
When the exported content has no # H1, the plugin now scans for the minimum heading level and promotes all headings by the appropriate offset. For example, if the content starts at ##, all ## become # and ### become ##.
๐งน Metadata Sanitization
The generated Word document now sets author, last_modified_by, title, and other core properties to the real user name and chat title, removing the default python-docx library fingerprints.
๐จ Heading Style Fixes (Critical)
- Theme font clearing: Cleared
w:asciiTheme,w:hAnsiTheme,w:eastAsiaTheme, andw:csthemeon all heading styles to prevent Word from overriding explicit font choices. - Run-level CJK enforcement: East Asian font is now set at the Run level for headings, resolving cases where style-level fonts alone were unreliable.
- Removed spurious underlines and borders: Heading styles no longer inherit underline or paragraph border decorations from the default template.
Version Changes
- Export to Word Enhanced: v0.4.5 โ v0.5.0 | ๐ README
๐ Documentation Portal
๐ Report Issues