You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: WYSIWYG Preview & Edit for docx / HTML / Markdown #39611
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Problem:
When using opencode to generate or modify documents (docx, HTML, Markdown), the current workflow is entirely code-diff based — you see raw diffs of the source, not a rendered preview of the final document. This makes it difficult to:
Judge whether the visual/layout result is correct before applying changes.
Make fine-grained adjustments to rendered content (e.g., tweak a table layout in docx, adjust heading hierarchy in Markdown, or fix an HTML element's styling).
Iterate quickly on document content without going through many /undo + re-prompt cycles.
Solution:
A preview/edit mode for rendered document types (docx, HTML, Markdown) that works like a WYSIWYG editor:
After opencode generates or modifies a document, show a rendered preview of the result (not just source diff).
Allow the user to:
Directly edit text, formatting, and layout within the rendered preview.
See changes reflected in real-time.
Confirm or discard individual edits before finalizing.
The underlying source (docx/HTML/MD) is updated accordingly after confirmation.
Activity
github-actions commentedon Jul 30, 2026
This issue might be a duplicate of existing issues. Please check:
You may want to review these and consider consolidating the discussion there if they address the same need.
kai-kleinbard-tyto commentedon Jul 30, 2026
Closing — translation/documentation nit. These are better handled via direct PRs to the docs repo rather than issue tracking.
github-actions commentedon Sep 29, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.