Repository navigation
Description
The use case and the gap in the market
Markdown is everywhere now: notebooks, AI agent output, plans, research notes, PRs. People read and write it constantly in their terminal-adjacent app of choice. None of the current options in that space delivers both:
- Beautiful out-of-the-box rendering with the typographic detail you'd expect from an editorial document (proper line-height, paragraph rhythm, blockquote treatment, code block contrast, header hierarchy)
- Deep-enough customization that someone who cares about typography can move the rendering toward beautiful, without forking the codebase
VS Code's markdown preview is functional but customization stops at a few CSS knobs. IntelliJ's preview is the visual bar I keep comparing to, and markdown.jar's default.css is the nicest editorial styling I have found in any IDE, but you cannot tune it from the user side. Obsidian gives you CSS snippets and many community themes, but its rendering decisions assume an Obsidian-shaped use case that does not map onto a terminal-adjacent app. Typora is closest to "beautiful by default" but it is not a terminal app and is closed-source.
Warp has the chance to be the first tool in the terminal-adjacent space that gets this right. The technical foundation is already in place: a custom GPU rasterizer, a theming system, a notebook layer that renders markdown inline with terminal output. What is still absent is the UX layer that turns a good rendering pipeline into the standard place to read and write markdown for people who care about how text looks.
LaTeX won academic writing because it took typography seriously where Word didn't. Warp could win the equivalent slice of "agentic and prose work in a terminal-adjacent app" for the same reason, with the same kind of contributor-driven feedback loop. The window is open because no one has done this in the terminal-adjacent space yet.
This issue proposes the framework that lets that loop start.
Today's three blockers
Today, three things in the code prevent any of this from happening.
Fonts are hardcoded. The macOS default UI font drives notebook body text, with no setting to change it. If you want to read prose in Helvetica, Charter, Iowan Old Style, or any of the other body faces that exist precisely for reading long-form text, you have to edit Rust source. Related: #9953.
Typography knobs are hardcoded. Header weights, header size ratios, line height, paragraph spacing, list spacing, blockquote padding all live as constants in crates/warpui_core/src/text/header.rs and crates/editor/src/render/model/mod.rs. The defaults look fine for some users and feel off for others, and there is no way to express the difference.
The theme schema does not cover markdown colors. A theme can set the terminal background, the accent color, and the 16 ANSI colors. A theme cannot set the blockquote background, the inline code background, the code block background, or the hyperlink color. Those live in RichTextStyles, built in app/src/notebooks/editor/mod.rs. A contributor who wants to ship an editorial-document-style markdown theme has to fork and edit source, because the theme schema has no way to express what they want.
Together these gaps mean anyone who cares about prose reading in Warp has no way to make it pleasant short of patching the codebase.
Proposed direction
The framework spans three layers of the codebase: per-knob settings in the panel, a theme schema extension for markdown colors, and a template format that bundles presets.
Typography knobs in settings
Per-knob settings for the things that are currently hardcoded:
ui_font_namefor chrome (settings labels, panels, tab titles)notebook_font_namefor notebook and markdown body, separate from the UI font so prose can be a serif while UI stays sans-serifmonospace_font_name(already exists)header_weight(Regular, Medium, Semibold, Bold)- Per-header size ratios for H1 through H6
- Paragraph spacing top and bottom
- List inter-item spacing
- List outer margin top and bottom
- Code block font size ratio (relative to body)
- Inline code font size ratio
The final list gets shaped by spec discussion.
Theme schema extension for markdown colors
Add an optional markdown: section to the theme YAML:
markdown:
blockquote_background: "#F6F8FAFF"
blockquote_bar_color: "#C6CCD3FF"
inline_code_background: "#F6F8FAFF"
code_background: "#F6F8FAFF"
hyperlink_color: "#163CB3FF"If a theme omits the section, defaults stay theme-derived and existing behavior is unchanged. If the section is present, those values populate the matching RichTextStyles fields. With this in place, a theme like "Eureka Light" (an IDEA-inspired light theme tuned for prose work) ships as pure data, no source changes required.
Templates that bundle preset values
A typography template is a YAML file that bundles a preset for the knobs above. Same shape as themes for colors.
Bundled examples could include "Default", "Compact", "Reader (serif body)", "IDEA-like". A user picks one in settings and the template populates the tunables. Individual knobs can be overridden after picking. Custom templates live in user config dir, parallel to custom themes.
Themes (colors) and typography templates compose. Pick a theme, pick a typography template, get the composition.
Prior art
JetBrains IDEA: Settings has Editor > Color Scheme for colors and Editor > Font for typography. Both can be saved and imported separately.
Obsidian: CSS snippet system plus community themes that bundle typography rules.
Typora: theme files include both colors and typography in one concept.
VS Code: workspace settings for editor.fontFamily, editor.fontSize, editor.lineHeight, plus markdown.preview.fontFamily and similar. No template system but per-knob settings exist.
The combination none of these tools fully delivers is "well-tuned by default" plus "deep enough customization for the typography-obsessed to make it perfect." Warp is in a position to deliver both.
Working prototype
A fork branch wires several pieces in already:
ui_font_nameandnotebook_font_nameuser settings, both with settings-panel dropdowns that mirror the existingmonospace_font_namepattern- All markdown rendering colors set via per-block style overrides (light-mode values inspired by IDEA's
markdown.jardefault.css) - Per-level header spacing tiers, with separate values for H1 and H2, H3, and H4 through H6
- Bullet shape size and weight tuning
Happy to share screenshots, walk through the local code, or both.
Scope and process
This is a multi-week feature. It touches settings UX (likely needs-mocks), settings schema, the render pipeline, a new template format, persistence, and the theme schema extension.
The goal of this issue is to start the conversation. If the team wants this direction, I would love to write the spec. If the team has different plans (for example a more minimal "just expose ui_font_name as a setting"), happy to scope down.
Related: #9953 (default font readability), #9024 (markdown rendering richness).
Activity
warp-for-oss commentedon May 9, 2026
@aleksandr-bogdanov
Here's what I found while triaging this issue:
Confirmed as a broad enhancement request rather than a bug. It overlaps with #9953, #9024, #6547, and #10574, but those cover narrower slices while this asks for a settings/theme/template framework.
Maintainer details
I concluded that broad enhancement request to make Warp's markdown/notebook prose rendering configurable through typography settings, markdown theme colors, and reusable presets..
Triage summary
This is a substantial enhancement request for markdown/notebook prose customization rather than a bug report. The requested work spans settings UX, markdown rendering style data, theme schema support, and likely a preset/template format, so it should go through product/design/spec discussion before implementation.
Code findings
FontSettingscurrently exposes terminal monospace font settings, AI font settings, notebook font size, and terminal line height, but not separate UI or notebook body font-family settings.Appearanceloads the default UI font family at startup andrich_text_stylesusesappearance.ui_font_family()for notebook body/table prose.app/src/notebooks/editor/mod.rs, with code block, inline code, table, checkbox, horizontal rule, selection, cursor, and link-adjacent styling derived from the current theme or constants.crates/warpui_core/src/text/header.rs.crates/editor/src/render/model/mod.rs.crates/editor/src/render/layout.rs.crates/warp_core/src/ui/theme/mod.rscovers general background/accent/foreground/details/terminal colors and does not include a markdown-specific section.Duplicate/related issue check
I found related open issues, but not an exact duplicate under the duplicate policy:
#10575 is broader: it proposes a composable framework of typography settings, markdown theme-color tokens, and typography templates/presets, so it should remain a separate tracked enhancement unless maintainers decide to consolidate this effort into one of the narrower threads.
This is my automated analysis and may be incorrect. A maintainer will verify the details.
Powered by Oz
aleksandr-bogdanov commentedon May 9, 2026
#6547 (June 2025) is asking for the same theme-YAML extension piece that section 2 of this proposal describes. The comment from @tguyton-figma in that issue spells it out: markdown styling defined inside the .yaml theme file alongside the Warp theme. Eight months of unanswered user demand from at least two independent voices.
aleksandr-bogdanov commentedon May 9, 2026
Visual context for the proposal.
Stock Warp on the left, prototype on the right (Helvetica body, IDEA-style header rhythm, GitHub-light code/inline backgrounds, hyperlink color, blockquote treatment).
Zed shot included for contrast.
The prototype's Settings → Appearance → Text panel showing all four font dropdowns (Terminal, Agent, UI, Notebook) with UI font separate from Notebook font, which is the key split this proposal asks the upstream typography framework to support.
aleksandr-bogdanov commentedon May 19, 2026
@oss-maintainers, any timing on the design mocks here?