Skip to content

Improve writing comfort with theme integration, typography, and focus modes #115

Open

Description

@BinaryOutlook

User need

People writing for extended periods need readable typography, an editor that fits their VS Code appearance, and optional ways to reduce visual distraction. These preferences should adapt the writing surface without changing authored Markdown.

Current behavior

In 0.5.2, Binary Markdown offers seven editor themes, base font size, column width/alignment, and toolbar controls. There is no preference to follow the active VS Code color theme, no user-facing font-family or line-spacing controls, and no focus or typewriter mode.

Proposed scope

  • Add an opt-in theme choice that follows the active VS Code theme and responds to theme changes, including high-contrast themes. Retain the existing themes and saved preferences.
  • Add editor typography preferences for prose font family and line height, with sensible validation and fallback fonts. Keep code and math legible without inheriting unsuitable prose settings.
  • Offer an optional focus mode that emphasizes the active paragraph or block without hiding content from selection, navigation, or assistive technology.
  • Offer an optional typewriter mode that keeps the active writing line near a comfortable vertical position without interfering with deliberate scrolling, search, or outline navigation.
  • Expose these choices through the existing categorized settings and command interfaces where appropriate. Document their behavior in visual/source/split views and supported hosts.

Acceptance criteria

  • Existing defaults and explicit user choices remain unchanged; new modes are opt-in and can be disabled with the keyboard.
  • Following the host theme updates colors without rebuilding the document, losing selection, or resetting undo history.
  • Typography controls honor User/Workspace precedence, reject invalid values gracefully, and remain usable with missing fonts, mixed scripts, and zoom.
  • Focus mode retains readable contrast for inactive content and works with selection, tables, code, equations, and assistive technology.
  • Typewriter scrolling behaves predictably during typing, IME composition, navigation, resizing, and manual scrolling, and respects reduced-motion preferences.
  • Appearance changes do not modify Markdown, dirty the document, or add content undo entries.
  • Focus/typewriter effects and temporary UI dimming never appear in exports. Any intended effect of typography or theme settings on export is explicitly documented and verified.
  • Settings documentation and all supported interface translations stay aligned.

Priority: medium overall, with higher value for long writing sessions and accessibility. This request does not set a release target.

Activity

  1. added
    enhancement
    on Nov 13, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions