# Feature Requests
This is the holding list for requests that have a clear user need but are not committed roadmap work. Entries stay here until they are accepted into a release plan or explicitly declined.
**Issue lifecycle rule (2026-09-15)** — the GitHub issue tracker is a work queue, not an archive. Keep `open` count at zero; do not let issues linger:
1. **Fixed in code** → comment with root cause + verification, then close. The commit message references the issue number.
2. **Big or unscheduled feature requests** → record them here (with need, scope and status), reply pointing to the entry, then close the issue. The list is the tracker; the issue is not.
3. **Outdated or unreproducible reports** (old version, no reply, needs a machine we do not have) → close as not planned, and state exactly what a reopen requires (e.g. reproduce on the latest version + document/platform details).
4. Requests that are declined for good go in this list under `Declined` with the reason — never silently closed.
**How to read the labels**
- `Help wanted` — we cannot finish it alone: it needs hardware, an environment, or a reproduction we do not have. Please comment on the linked issue; Chinese or English both fine.
- `In progress` — someone is building it right now. Comment on the issue instead of starting a second implementation.
- `Candidate` — free to pick up. Say so on the issue first so two people do not meet in the same file.
- `Declined` — not planned, with the reason recorded.
## Help wanted / 急需帮助
The two items below are the ones actually blocking us. Everything else on this page is either being built by the maintainer or is simply not scheduled yet — these are the ones where an outside hand changes the outcome.
### Windows input stutter while typing
**Sources:** [#78](https://github.com/marswaveai/ColaMD/issues/78)
**Reported:** Windows 11, NVIDIA GPU, AMD CPU. Typing stalls roughly every six characters.
**Needed:** reproduction and profiling on Windows: does the stall follow IME composition, autosave, Mermaid rendering, or the renderer's paint loop? Is it the editor, the file watcher, or the GPU process?
**Why it is stuck:** the maintainer only has macOS hardware. Startup time is already instrumented (`COLAMD_STARTUP_TRACE=1`), so a Windows user can produce a comparable trace; nobody has been able to run it on a machine that shows the stall.
**How to help:** comment on [#78](https://github.com/marswaveai/ColaMD/issues/78) (closed pending data; reopen with it) or open a new issue, with your GPU and driver version, input method, document size, and whether the stutter changes when the document contains no Mermaid block or when autosave is off.
### Image export failures
**Sources:** [#88](https://github.com/marswaveai/ColaMD/issues/88)
**Reported:** export to image fails for some users, on both desktop and mobile export modes.
**Needed:** a document that reproduces it. Export draws the document in one hidden window and captures it, and a document taller than 16384 device pixels continues as numbered pages, so a failure now points at either the render window or that limit. The earlier debugging-protocol and scrolling fallbacks are gone (2026-09-21), which is why a failure seen before that change is worth re-reporting against the current release.
**How to help:** comment on [#88](https://github.com/marswaveai/ColaMD/issues/88) with the failing document (or a cut-down version), the platform, the export option used, and whether the current release still fails.
## Implemented On Main
### Inline HTML pairs (#125)
`文字` in the middle of a paragraph styles the text between the tags. A matched pair on one line hides both tags and paints the inner text with a mark carrying the sanitized style; the text stays editable. Fixed 2026-10-08 (`8615cc0`), with `verify:features` asserting the computed colour. The earlier reply that said it already worked was wrong, and the issue was reopened with a correction.
These features are implemented on `main` and await release verification.
### Footnote hover preview
**Source:** [#25](https://github.com/marswaveai/ColaMD/issues/25)
**Status:** hovering a footnote reference shows its definition in a floating card, read from the document itself. The card is part of the hover zone so a long definition can be scrolled, moving the pointer across the gap does not dismiss it, and multi-block definitions keep their paragraphs apart.
### Markdown formatting shortcuts
**Source:** [#58](https://github.com/marswaveai/ColaMD/issues/58)
**Status:** the Edit menu carries a Format submenu with bold, italic, inline code, strikethrough, link (URL from the clipboard), bullet list and ordered list, so the shortcuts are discoverable from the menu rather than only from documentation. Commands apply only while the editor has focus. Customising or disabling them stays a candidate below.
### Remember window size and view zoom
**Source:** [#95](https://github.com/marswaveai/ColaMD/issues/95)
**Status:** the window's position, size and view zoom are stored next to the other preferences and restored on the next launch. A stored position that no longer overlaps any attached display falls back to the default size, so unplugging a monitor cannot strand the window off screen.
### Themes as standalone files, with a guide for writing your own
**Source:** [#91](https://github.com/marswaveai/ColaMD/issues/91)
All twelve built-in themes already ship as standalone, commented CSS files in [`themes/`](../themes), and [`themes/README.md`](../themes/README.md) documents the variables, direct selectors, and the rule that omitted variables inherit the Light defaults. The request was filed because nobody could find them: the README named twelve themes without linking the folder. README and README_CN now link both files. Nothing else is owed here, so the issue is closed.
### Export Word (.docx)
**Sources:** [#31](https://github.com/marswaveai/ColaMD/issues/31)
**Status:** Exports GFM document structure, common inline formatting, lists, tables, links, code blocks, and standalone local images to `.docx`. HTML and unsupported syntax degrade to text. Mermaid diagrams are drawn into the document as images, see below.
### Diagrams in the Word export
**Sources:** [#107](https://github.com/marswaveai/ColaMD/issues/107)
**Status:** Every Mermaid block in the document becomes a picture in the `.docx`. Diagrams are drawn again for the export with the app's light palette inlined into the SVG, because Word is a white page: the one on screen may belong to a dark theme, and in source mode there is no diagram on screen at all. A diagram that cannot be rendered keeps its code fence, so one broken block cannot fail an export.
### Text width
**Sources:** [#110](https://github.com/marswaveai/ColaMD/issues/110)
**Status:** View → Text Width switches the reading column between narrow (640), standard (780, the default) and wide (1080). The preference lives beside the other local preferences and applies to the editor, to source mode (which stays aligned with the editor, see [#48](https://github.com/marswaveai/ColaMD/issues/48)) and to the HTML and PDF exports. An exported image is not affected: it is drawn at its own reading width by design.
### Export shareable images
**Sources:** [#35](https://github.com/marswaveai/ColaMD/issues/35), [PR #121](https://github.com/marswaveai/ColaMD/pull/121)
**Status:** Exports the whole document as one continuous PNG at the desktop or mobile reading width. A document too tall for a single image (16384 device pixels on a side) continues as numbered reading pages, with the final page trimmed to its content, so every document still exports.
### Document outline
**Sources:** [#21](https://github.com/marswaveai/ColaMD/issues/21), [#27](https://github.com/marswaveai/ColaMD/issues/27), [#64](https://github.com/marswaveai/ColaMD/issues/64)
**Status:** Adds a Files / Outline switch in the existing sidebar. Headings navigate in both visual and Markdown source modes. The outline doubles as a reading-progress view: the entry for the section at the top of the viewport is highlighted while scrolling (both modes), the active entry stays revealed in long documents, and jumping from the outline or an anchor link flashes the landing heading once so the arrival is visible. Colors derive from each theme's link color. Long headings expose their full text through a hover tooltip.
### MDX support
**Source:** [#179](https://github.com/marswaveai/ColaMD/issues/179)
Declined. ColaMD opens a Markdown file and shows that file character for character (`save(open(x)) === x`); MDX is a JavaScript module that compiles to a component tree, so a document stops being text and becomes code that must be built, resolved and run, with a bundler, a React runtime and a security boundary inside the editor.
### Two sidebars at once (files and outline)
**Source:** [#188](https://github.com/marswaveai/ColaMD/issues/188)
Declined. The panel is one, and one press swaps what it shows. A second column is a permanent sidebar, the reading column has to give way on both sides, and narrow windows lose the place to write; the editor is a canvas that stays out of the way. If the real need is "when reading the outline I lose track of which folder I am in", a single line of the current directory at the top of the outline is the cheap answer.
### Tab drag to reorder and drag out to a new window
**Source:** [#185](https://github.com/marswaveai/ColaMD/pull/185)
Declined. Drag affordances have been rejected elsewhere in the product (panel resizing became fixed rules plus a narrow hot zone), and dragging a tab out is multi-window under another name; tabs answered that need ([#44](https://github.com/marswaveai/ColaMD/issues/44)).
### Resizable file panel
**Sources:** [#64](https://github.com/marswaveai/ColaMD/issues/64)
**Status:** The panel's right edge offers a lightweight drag hot zone (no permanent handle icon, hover stripe only, per design.md) to resize between 200px and 420px. The choice persists locally, the default stays 220px, and the hot zone hides with the panel. The floor is 200 because the window controls sit in this column's top row: at 180 the last button would land on the pixel where the tab strip starts.
### Windows startup performance
**Sources:** [#32](https://github.com/marswaveai/ColaMD/issues/32)
**Status:** Adds opt-in `COLAMD_STARTUP_TRACE=1` timing from main-process load through editor readiness. Export dependencies are dynamically loaded, reducing the main startup bundle from about 1.73 MB to 604 KB.
### Diagram rendering (Mermaid)
**Sources:** [#26](https://github.com/marswaveai/ColaMD/issues/26)
**Status:** Mermaid blocks are rendered by [Pele](https://github.com/obsidianmd/pele) (MIT), the renderer Obsidian ships next. It is synchronous and dependency-free, so the hidden iframe, the 400ms debounce and the 15s timeout recovery are all gone; the engine itself is loaded on demand, so a document without a diagram pays nothing. Kept: click-to-edit source mode, and a block that fails to render keeps its code fence. Diagram colour comes from CSS variables that are derived from the theme (`themes/editor-preview.css`), so switching themes repaints the diagram without re-rendering it.
Zoom (#129): a diagram that does not fit the column can be zoomed with Ctrl/⌘ + scroll wheel, the buttons in its corner, or a double click, and dragged to pan while zoomed. A diagram that already fits gets no controls at all. Exports reset the viewport and hide the buttons, so a zoomed diagram still leaves the whole picture on paper.
### Visible save status hint
**Source:** [#49](https://github.com/marswaveai/ColaMD/issues/49)
**Status:** A quiet `未保存 / 已保存` hint sits beside the filename in the title bar. It is also the one place that reports an external-edit conflict waiting on a choice, and, after the disk version is loaded, that the dropped version is still on disk (the hint is clickable there and reveals the file). No timestamps, no toasts.
### A copy is kept before unsaved work is discarded
**Sources:** [#115](https://github.com/marswaveai/ColaMD/issues/115)
**Status:** Loading the disk version after an external edit is the one action that used to throw unsaved input away with no trace (the editor flushes its undo history at the same time). The dropped version is now written to `~/.colamd/recovered/-.md` first, the dialog button says so before it happens, and the title bar reports where it went. If the copy cannot be written, nothing is discarded: the editor keeps its version. The wider request behind this issue (a version history with retention and a restore view) is not planned; see Candidates.
### Heading anchor navigation
**Source:** [#50](https://github.com/marswaveai/ColaMD/issues/50)
**Status:** Plain clicks on `[text](#anchor)` links jump to the matching heading with a smooth scroll. Slug resolution follows GitHub rules: lowercase, punctuation stripped, CJK preserved, URL-encoded targets decoded, case-insensitive fallback, and `-1`/`-2` suffixes for repeated headings. External links keep the ⌘/Ctrl+click-to-open behavior; anchor clicks never move the caret.
### Theme menu selected state
**Status:** Theme menu entries are now checkboxes showing the active theme, including imported custom themes. The renderer reports the applied theme to the main process, which rebuilds the menu on change.
### Recent files and restore last session
**Source:** [#28](https://github.com/marswaveai/ColaMD/issues/28), [#45](https://github.com/marswaveai/ColaMD/issues/45)
**Status:** File → Open Recent lists the last 10 documents (stale paths pruned). Opening or Save-As records the file in `~/.colamd/recent.json`. At launch the app reopens the most recent document by default; a checkbox in the same submenu turns restore off, and Clear Recent wipes the list. The startup restore policy is queued for redesign; the desired default is a blank launch unless the previous session ended unexpectedly or the system restarted.
### Configurable editor font
**Source:** User request (#7752855)
**Status:** View → Editor Font… opens a settings dialog with font family and size plus a live preview. The preference is layered user > theme > defaults, overriding only the editor prose and source mode; code blocks and UI keep their theme fonts. Stored locally, synced across windows.
### Multiple windows
**Source:** [#44](https://github.com/marswaveai/ColaMD/issues/44)
**Status:** File → New Window opens an independent editor window; opening a file that is already open focuses its window, and an empty window is reused before spawning a new one. Each window keeps its own file, save queue, watcher, and unsaved-changes guard.
### Startup session restore policy
**Source:** User feedback (2026-08-28)
**Need:** Keep normal launches blank instead of automatically reopening the last document. Reopen documents only when there is a clear recovery context, such as an unexpected app exit or system restart.
**Scope:** Separate the recent-files list from session recovery, define how intentional quit differs from a crash or restart, and keep recovery explicit and predictable. Remove or redesign the current default-on "restore last document" behavior.
**Status:** Deferred. The current restore behavior remains in `v2.0.0`; do not change it in this release.
### Reveal in file manager (hover on the document title)
**Sources:** [#83](https://github.com/marswaveai/ColaMD/issues/83), [#84](https://github.com/marswaveai/ColaMD/pull/84) by @moyu12-ae
The reveal button shipped in v2.0.4 and v2.0.5 was unreachable, but not because hover in the titlebar is unreliable. Commit `8dc5097` (stop undo from crossing documents) refactored `main.ts` and deleted every renderer hookup for the button: the element accessor, the `fileManagerName` state, `fileLocationLabel()`, `updateFileRevealButton()` and the click binding, while `index.html` kept its hardcoded `disabled`. The visibility rule is `#titlebar:hover #reveal-file-btn:not(:disabled)`, so a permanently disabled button can never match and stays at `opacity: 0`, which presents as a broken hover. The wiring is restored, and the button appears when the file name is hovered.
**Decision (2026-09-12):** the button stays hover-only. A constant fourth titlebar icon was considered and dropped: the hover reveal works, and the titlebar should stay as empty as possible.
### Tabs and multi-document workspace
**Sources:** [#59](https://github.com/marswaveai/ColaMD/issues/59)
**Status:** Shipped in `v2.1.0`. Keep several documents open in one window instead of replacing the current document. Each tab holds its own content, unsaved state, undo history and scroll position.
**In progress (maintainer).** The tab strip itself is actively being refined — chrome height, the hover `⌘W` affordance, tab widths and the title-bar relationship are all still moving ([#90](https://github.com/marswaveai/ColaMD/issues/90)). Do not start a parallel tab implementation; comment on the issue or open a PR against the maintainer's current work instead.
Re-opened as a candidate on 2026-09-11 instead of staying declined, then designed and built during 2026-09-13. The spec lives in `design.md` (section on tabs): user-created tabs only, no strip until there are two tabs, no persistence, no drag between windows. Creation entries are `⌘T`, File → New Tab, and the file panel's right-click Open in New Tab; there is deliberately no plus button in the chrome.
## Security Maintenance
### Upgrade Electron and transitive security dependencies
**Source:** `npm audit` (2026-08-28)
**Need:** Upgrade the Electron runtime and its transitive dependencies to versions that address the currently reported security advisories, without weakening the app's document and renderer security model.
**Scope:** Evaluate the required Electron major-version upgrade, then verify macOS code signing and notarization, Windows and Linux builds, auto-update manifests, Mermaid rendering, file opening, IPC boundaries, and unsaved-document protection on every supported platform.
**Status:** Planned. Do not mix this with issue #55, whose reported PostCSS version is outdated and is not present in the current dependency tree.
## Website feature cards (positioning)
**Decision (2026-09-13):** the nine cards on colamd.com are ordered by user demand, not by internal build order:
1. True WYSIWYG (真正的所见即所得)
2. Always in Sync (文件永远是最新的)
3. Export (导出)
4. Tabs (标签页)
5. Diagrams (图表)
6. Same-Directory Files (同目录文件管理)
7. Outline & Find (长文档导航)
8. Rich Text Copy (富文本复制)
9. Cross-Platform (跨平台)
Evidence used:
- **Our own issue tracker** (40 issues). By topic: 代码块 4 (#29, #30, #53, #54), 图表 3 (#40, #42, #51), 导出 3 (#31, #35, #71), 大纲 3 (#27, #37, #64), 保存与自动保存 3 (#34, #39, #49), 多文档 3 (#44, #59, #65), Windows 性能 2 (#32, #78), 最近文件与会话还原 2 (#28, #45).
- **Search suggestions.** Baidu's suggester returns queries ordered by popularity, and every one of these exists as a popular query: `markdown转word`, `markdown导出pdf`, `markdown实时预览`, `markdown所见即所得`, `markdown自动保存`, `markdown流程图`. Google's suggestion endpoint was unreachable from the build machine, so it was not used. `markdown大纲` drifts to 「大纲是什么意思」, meaning the term itself has low awareness: that is why card 7 says 「长文档导航」 rather than 「大纲」.
**Dropped: Clean by Design / 界面克制.** It is an identity, not a feature, and no issue asked for it. The feeling it carried (极简无负担) now lives in the hero description instead: "a quiet home: your text and a file list, no toolbar and nothing to configure".
**Added: Diagrams / 图表** (Mermaid, shipped in v2.0.0).
Rule kept: exactly nine cards. The order is documented in an HTML comment above the card list on the gh-pages branch.
## Candidates
### 整理空行(一次动作,不自动)
**Source:** [#188](https://github.com/marswaveai/ColaMD/issues/188)
LLM 生成的 Markdown 常常在段落之间留一串空行,读起来松垮。要的是一个「整理空行」的命令:连续空行并成一条,代码块和属性区里不动,行尾空白顺手去掉,整篇只留一次撤销。
**Not automatic.** 打开文件时悄悄改一遍别人的文档,和「文件是最新的、也是你写的那个样子」直接冲突;只有用户按下它才动。
**Status:** Candidate, not scheduled.
### 文件重命名 (#185)
**Source:** [#185](https://github.com/marswaveai/ColaMD/pull/185)
改文件名现在要去文件管理器。需要的是文件列表右键里的「重命名」:保留扩展名、同名冲突要提示、成功后同步已打开的标签、文件监听和最近打开记录。PR #185 里这一半是可以要的。
**Not wanted from that PR:** 标签拖拽排序和拖出独立窗口。拖拽在本产品里反复被否(面板调宽改成固定规则加窄热区、标签排序一直是 Candidate 里「先问值不值得」的那条),而拖出窗口就是多窗口,多窗口的需求在 [#44](https://github.com/marswaveai/ColaMD/issues/44) 里已经由标签页回答了。
**Status:** Candidate, not scheduled.
### 右键菜单:插入表格、待办、列表、标题层级 (#163)
**Source:** [#163](https://github.com/marswaveai/ColaMD/issues/163)
**Need:** 写项目文档时表格用得多,但画一张表只能手敲 `|---|---|`。要的是编辑器里的右键菜单:插入表格(能选几行几列)、待办、有序/无序列表,以及把当前行调成某一级标题。参考对象是 Typora 的右键菜单。
**Scope:** 菜单挂在正文上,条目跟光标所在的块走(在表格里给表格相关的操作,在列表里给列表的)。插入表格要能继续填格子,不是只塞进一行语法。不新增常驻工具栏。
**Status:** Candidate, not scheduled.
### 公众号排版模式(WeChat article formatting)
**Source:** User request (2026-10-06).
**Need:** 稿子写完要贴进公众号,但现在复制出去的是给网页看的 HTML:粘进公众号编辑器之后背景被抹掉、宽度撑爆、代码块散架。要的是一个**模式**——点进去之后,复制拿到的就是微信公众号编辑器吃得下的那种 HTML。用户对要求的原话是「不支持背景,宽度也有要求,反正有一堆要求」,这一堆要求就是下面这些。
**Constraints(公众号编辑器的硬规矩,写下来免得重新踩):**
- 只吃**行内样式**:`