Skip to content

docs: Word files display the same on every device - #11

Merged
subhamviky merged 1 commit into
mainfrom
fix/docx-rendering
Nov 19, 2026
Merged

subhamviky merged 1 commit into
mainfrom
fix/docx-rendering

Conversation

@subhamviky

Copy link
Copy Markdown
Owner

Two kinds of text did not display as written:

  • symbols the document fonts (Calibri, Consolas, Courier New) do not contain (check marks, crosses, set symbols): desktop Word borrows them from a symbol font, but phone viewers show a box or "?". Check marks are now "Yes", crosses "No"; the set symbols are words or "+" (and in the Markdown sources).
  • Markdown markup that the converter copied into the text: backticks in table captions and subtitles (now code-formatted), and the escaped pipe "|" in table cells (now "|").

The Word files are patched in place (word/document.xml only), so layout, styles and page numbers are unchanged. The hub converter (md2docx.py) is fixed too.

Claude-Session: https://claude.ai/code/session_01ArrRtrXyLLMMWD5wHSKbQ4

Two kinds of text did not display as written:
- symbols the document fonts (Calibri, Consolas, Courier New) do not contain
  (check marks, crosses, set symbols): desktop Word borrows them from a symbol
  font, but phone viewers show a box or "?". Check marks are now "Yes", crosses
  "No"; the set symbols are words or "+" (and in the Markdown sources).
- Markdown markup that the converter copied into the text: backticks in table
  captions and subtitles (now code-formatted), and the escaped pipe "\|" in table
  cells (now "|").

The Word files are patched in place (word/document.xml only), so layout, styles
and page numbers are unchanged. The hub converter (md2docx.py) is fixed too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ArrRtrXyLLMMWD5wHSKbQ4
@subhamviky
subhamviky merged commit 4cf8eda into main Nov 19, 2026
4 checks passed
@subhamviky
subhamviky deleted the fix/docx-rendering branch November 19, 2026 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants