Skip to content

fix: add print/PDF export support and update README#21

Merged
sonsurim merged 3 commits intomainfrom
feautre/hamsurang-slide-docs
Apr 17, 2026
Merged

fix: add print/PDF export support and update README#21
sonsurim merged 3 commits intomainfrom
feautre/hamsurang-slide-docs

Conversation

@sonsurim
Copy link
Copy Markdown
Member

@sonsurim sonsurim commented Apr 16, 2026

Summary

Cmd+P로 PDF 저장 시 발생하는 렌더링 문제를 수정하고, README에 샘플 이미지를 추가합니다.

Scrrenshots

image

Description

1. PDF 저장 대응

브라우저 인쇄/PDF 저장 시 애니메이션 요소 미출력, glassmorphism 카드 투명화, 배경색 누락, 페이지 크기 무시 등 다수의 렌더링 문제가 있었습니다. @media print 규칙을 보완하여 화면에서 보이는 것과 동일한 결과물이 PDF로 출력되도록 수정했습니다. JS 비활성 환경(headless PDF 변환 등)에서도 슬라이드가 최소한 가시적으로 출력되도록 <noscript> 폴백을 추가했습니다.

2. README 업데이트

라이트/다크 테마 스크린샷 및 데모 html을 추가했습니다.

- Fix invisible animated elements in print (.a opacity:0 → 1)
- Fix transparent glassmorphism cards (backdrop-filter not supported in print)
- Fix missing background colors (print-color-adjust: exact)
- Fix @page size ignored (remove landscape keyword with custom dimensions)
- Fix body overflow blocking print reflow
- Fix section-divider underline bar hidden behind slide background
- Add noscript fallback for JS-disabled environments (headless PDF)
- Fix Mermaid light theme colors (theme: base + themeVariables)
- Add sample HTML files and theme screenshots to README
@sonsurim sonsurim requested a review from minsoo-web as a code owner April 16, 2026 14:59
@sonsurim sonsurim self-assigned this Apr 16, 2026
Copy link
Copy Markdown
Member

@minsoo-web minsoo-web left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@sonsurim sonsurim merged commit f6d0b91 into main Apr 17, 2026
3 checks passed
@sonsurim sonsurim deleted the feautre/hamsurang-slide-docs branch April 17, 2026 00:44
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.

2 participants