Skip to content

[FEATURE]: Markdown Preview/Source Toggle in File Editor #13705

Closed as not planned

Description

@kimi-chen

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

What problem this solves / need addressed

Currently, it is difficult to review markdown files visually in the file editor. Users must interpret raw markdown syntax, which is less accessible, especially for those unfamiliar with markdown formatting. This makes it challenging to quickly check formatting and content appearance.

Requested enhancement/context

Add a "Markdown Preview/Source" toggle button at the top-right corner of the file editor. The toggle should allow users to seamlessly switch between editing markdown source code and previewing how the document appears when rendered. Please clarify if this should be available in TUI, Desktop, Web, or all platforms. For now, I am requesting it for the main file editor (please specify if needed).

Expected behavior

  • When editing a markdown file in the editor, the user sees a toggle button in the top-right corner.
  • Clicking "Preview" displays the rendered markdown (formatted text, links, images, etc).
  • Clicking "Source" returns to editing the raw markdown text.
  • The feature should be intuitive and quick to switch.

Current behavior/limitation

  • No preview option exists, only code view.
  • Users must manually open their markdown files elsewhere to see formatted results.

Mockup example

Preview Mode


Image

Source Mode


Image

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Feb 15, 2026
  2. github-actions commented on Feb 15, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Incomplete title: The title is just [FEATURE]: with no description. Please add a clear, concise title describing the feature (e.g., [FEATURE]: Markdown Preview/Source Toggle in File Editor)
    • Insufficient description: The enhancement description is too brief and unclear. Please provide:
      • What problem this solves or what need it addresses
      • Clear steps or context about what you want to do
      • Expected behavior (what should happen when using this feature)
      • Current behavior (what's the limitation now)
      • Any mockups or visual examples if helpful
    • Typo and grammar: "mockdown" should be "markdown", and phrasing needs improvement (e.g., "so you can view" instead of "so can view")
    • Missing context: Which file editor or component should have this toggle? (TUI, Desktop, Web?)

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. changed the title [-][FEATURE]:[/-] [+][FEATURE]: Preview markdown file[/+] on Feb 15, 2026
  4. changed the title [-][FEATURE]: Preview markdown file[/-] [+][FEATURE]: Markdown Preview/Source Toggle in File Editor[/+] on Feb 15, 2026
  5. github-actions commented on Feb 15, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

  6. inkihh commented on Apr 30, 2026

    @inkihh

    wtf why was this unclear? "Add a "Markdown Preview/Source" toggle button at the top-right corner of the file editor." just as every reasonable editor does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussionneeds:complianceThis means the issue will auto-close after 2 hours.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions