warp icon indicating copy to clipboard operation
warp copied to clipboard

Markdown editor does not wrap long lines, causing text to extend off-screen

Open vikvang opened this issue 7 months ago • 3 comments

Summary

Markdown files opened in Warp's editor do not wrap long lines, so prose can extend past the right edge of the visible editor instead of remaining readable within the pane.

Problem

When editing .md files in Warp's editor, long lines of Markdown text can go beyond the screen width and appear cut off. This makes Markdown authoring difficult because prose is not visible without relying on horizontal scrolling or manually inserting hard line breaks.

Expected behavior

Long Markdown lines wrap within the editor pane while editing, or there is a clear setting to enable line wrapping for Warp's editor.

Actual behavior

Long Markdown lines continue past the visible right edge of the editor and are clipped/off-screen.

Reproduction steps or desired workflow

  1. Open a .md file in Warp's editor rather than the rendered Markdown viewer.
  2. Edit or view a long paragraph line that does not contain manual line breaks.
  3. Use a window or pane width narrower than the line.
  4. Observe that the text extends beyond the right edge instead of wrapping within the editor.

Artifacts

Screenshot 1: Warp Markdown editor showing long Markdown prose extending beyond the right edge of the visible editor pane instead of wrapping. Paste screenshot 1 here

Warp version

v0.2026.04.25.08.29.dev_00

Operating system

macOS 26.4 (build 25E246)

vikvang avatar May 01 '26 01:05 vikvang

@vikvang

This issue appears to overlap with existing issues:

  • #9017 — Feature Request: Word wrap / soft wrap in diff view and Markdown source view
  • #9040 — Auto line wrap in Markdown source/diff view is essential for code review workflows

If this report is meaningfully different, please comment with the additional context or distinguishing behavior so a maintainer can review it. Otherwise, a maintainer may close it as a duplicate after review.

Maintainer details

I concluded that markdown source/editor long-line wrapping is a duplicate of existing soft-wrap requests for Markdown source view..

Duplicate reasoning

  • #9017: Explicitly requests word/soft wrap for .md files in Markdown source/raw mode because long lines require horizontal scrolling, matching this issue's Markdown editor/source-mode symptom.
  • #9040: Describes Markdown source mode lacking automatic line wrapping, long prose extending horizontally, and no visible wrap toggle; this is the same observed behavior as the new report.

This is my automated analysis and may be incorrect. A maintainer will verify the details.

Powered by Oz

warp-for-oss[bot] avatar May 01 '26 01:05 warp-for-oss[bot]

@oss-maintainers — would you be open to running an Oz cloud agent on this? This is exactly the kind of friction that would make Warp a better daily-driver for markdown editing, and per CONTRIBUTING.md it sounds like a good candidate for the complimentary Oz credits path. Happy to test the resulting build and provide repro feedback.

dompowell-liminal avatar May 04 '26 10:05 dompowell-liminal

+1 from a macOS user. This breaks the markdown editor for any prose work — long paragraphs run off the right edge with no horizontal scroll, no wrap, no way to read what you wrote without manually inserting line breaks. Even an opt-in soft-wrap toggle would solve it (similar to what #4486 asks for the rendered viewer). Pairs with #10016 (long-line copy is also broken because of this).

uuugene666 avatar May 08 '26 22:05 uuugene666