Skip to content

Improve Markdown preview CSS styling #6547

Open

Description

@rhsev

Pre-submit Checks

Describe the solution you'd like?

I would like improved styling for the Markdown preview with the ability to customize the styling via CSS.
Currently, the Markdown preview has (for me) formatting with issues like excessive line spacing that makes my kind of documents hard to read.
There is no apparent way to customize or override the default styling.
Please

  • provide access to a CSS file that users can customize
  • add settings to control basic formatting options (line height, font size, margins)

Is your feature request related to a problem? Please describe.

Related to issue #4486 (word wrap), but this addresses broader CSS and formatting concerns and could also solve this and other formatting problems.

Operating system (OS)

macOS 15.5

How important is this feature to you?

2 (makes preview useful)

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Activity

  1. dannyneira commented on Jun 3, 2025

    @dannyneira
    Member

    Thanks for this feature request @rhsev

    To anyone else interested in this feature, please add a 👍 to the original post at the top to signal that you want this feature, and subscribe if you'd like to be notified.

  2. tguyton-figma commented on Jun 28, 2025

    @tguyton-figma

    +1 - having the ability to deeply customize markdown preview's styling would be hugely valuable feature for me.

    It would be ideal if I could define it within the .yaml theme file alongside my Warp theme. This would allow my markdown preview styling to follow my warp theme styling which I change frequently in my work ✨

  3. added
    enhancement
    and removed on Apr 8, 2026
  4. added
    triaged
    on Apr 17, 2026
  5. aleksandr-bogdanov commented on May 9, 2026

    @aleksandr-bogdanov

    Filed #10575 today. The "Theme schema extension for markdown colors" section in that proposal is exactly what @tguyton-figma's comment above is asking for: an optional markdown: section in the theme .yaml file that lets a theme set blockquote background, inline code background, code block background, hyperlink color, and the blockquote bar color. The line-height-too-large pain in the original post is also covered there via per-knob settings for line height, font size, paragraph spacing, list spacing.

    Working prototype on a fork: https://github.com/aleksandr-bogdanov/warp/tree/feat/markdown-intellij-styling

    That theme-YAML piece is the smallest of the three pieces in #10575 and could ship before the larger settings UX and template work.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions