You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a toggle to switch between standard and condensed manuscript format in the live preview panel.
Context
The live preview currently renders HTML using the standard style only. The condensed renderer exists for PDF output (half-letter, tighter margins, smaller font) but has no HTML equivalent.
Proposed approach
Add a downstage.preview.style setting (default: "standard")
Add a downstage.togglePreviewStyle command (and optionally a status bar item)
Build a condensed HTML renderer that mirrors the condensed PDF layout
Wire the style through the existing preview render path (openLivePreview already reads getRenderStyleSetting())
The main work is building the condensed HTML renderer — the condensed PDF renderer in internal/render/pdf/condensed.go can serve as a reference for layout values
Embedding the PDF in the preview iframe was considered but would lose the data-source-line scroll-to-line feature
Priority
Low — nice-to-have. Good candidate for an outside contributor.
Summary
Add a toggle to switch between standard and condensed manuscript format in the live preview panel.
Context
The live preview currently renders HTML using the standard style only. The condensed renderer exists for PDF output (half-letter, tighter margins, smaller font) but has no HTML equivalent.
Proposed approach
downstage.preview.stylesetting (default:"standard")downstage.togglePreviewStylecommand (and optionally a status bar item)openLivePreviewalready readsgetRenderStyleSetting())Notes
internal/render/pdf/condensed.gocan serve as a reference for layout valuesdata-source-linescroll-to-line featurePriority
Low — nice-to-have. Good candidate for an outside contributor.