Skip to content

feat(files): render Markdown previews with a centered outline - #651

Closed
od-studio-webagency wants to merge 1 commit into
devswha:mainfrom
od-studio-webagency:feat/markdown-preview-outline
Closed

od-studio-webagency wants to merge 1 commit into
devswha:mainfrom
od-studio-webagency:feat/markdown-preview-outline

Conversation

@od-studio-webagency

@od-studio-webagency od-studio-webagency commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Change

Closes #636

  • Markdown 렌더링/원본 전환, 문서 기준 상대 링크, 원문 다운로드와 접힌 속성 영역을 제공합니다.
  • 제목 수준과 중복 제목을 보존하는 목차가 본문을 따라 중앙으로 이동하며 포커스·본문 위치를 건드리지 않습니다.
  • 기존 앱 테마, 글자 크기, 모바일 safe area와 포커스 트랩을 유지합니다.

#510, #429, #616과 겹치는 미리보기 논의를 연결합니다. 이 초안의 추가 제안은 목차와 읽기 위치 탐색이며, Mermaid나 새 구문 강조 의존성을 넣지 않았습니다.

Validation

generate:types --check, typecheck, build, test:unit 통과. 새 preview/TOC 회귀는 1440/390px 밝은·어두운 테마에서 통과했습니다. 기존 파일 열기/뒤로·앞으로/Settings·Add PC 포커스 검사와 모바일 미디어 16개 경우도 통과했습니다.

모든 검증은 별도 작업 공간과 소유한 테스트/demo 환경에서 수행했습니다. 사용자의 실행 중 앱·terminal은 변경하지 않았습니다.

화면 증거

개인 대화나 사용자 세션이 아닌, 소유한 테스트/demo 환경의 가상 데이터로 촬영했습니다.

markdown-desktop

@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@devswha

devswha commented Oct 11, 2026

Copy link
Copy Markdown
Owner

Thanks for this. Markdown previews in the file viewer are already under review in #429, which the maintainer has reviewed several times (#669, #670 and #671 were split out of it and have landed), and #616 covers the same ground with images. Closing this as a duplicate to keep the work in one place. If the centered outline is something you'd like to propose on top, please open an issue for it once a preview has landed.

@devswha devswha closed this Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(files): add a centered outline to rendered Markdown previews

2 participants