GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat: スライド PDF エクスポート機能を追加 by ymnao · Pull Request #329 · ymnao/scripta Conversation
Owner
概要Fable ロードマップ #4 の合流点として、スライド Markdown を 16:9 (1280×720) の 1 スライド 1 ページ PDF として書き出せるようにした (PR #316 で export した論理サイズ定数を初 consumer 化)。 関連 Issueなし (Fable 推奨 #4、HANDOFF 78 A-1) 移行 Stage
変更内容
動作確認
スクリーンショットなし (機能追加、UI は既存 ExportDialog の 4 番目セクション) 検証エビデンスリスク分類tier: medium — files_changed=12 / +406-37 (threshold の中規模、IPC 境界に変更を含む) 実行した検証
/simplify + /code-review medium の要約
レビュー指摘と対応
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions- ExportDialog に「スライド」セクションを追加し、Markdown を `---` 区切りで 16:9 (1280×720) の 1 スライド 1 ページ PDF として書き出せるようにした - 論理サイズ定数 (SLIDE_LOGICAL_WIDTH/HEIGHT/PADDING_PX) を src/types/slide.ts に集約し、SlidePreview と PDF export で共通の WYSIWYG 前提として参照 - pdf:export IPC に optional な PdfExportOptions (pageSize / marginsInches / skipSectionBreakScript) を追加し、既存 PDF export の挙動は不変のまま preset A4 と slide 用カスタム pageSize を切り替え可能にした - スライド用 HTML は :not(:last-child) で `break-after: page` を絞ることで末尾の空白ページを回避、印刷マージンは IPC 側 (marginsInches=0) で担保 - 既存 PDF export の section-break-script (#93) はスライド経路では不要なため skipSectionBreakScript で無効化 - 単一改行の `<br>` 変換 (breaks オプション) は SlidePreview と揃えるため slide 経路では default (=false) を使用し、ExportDialog の「プレビュー通りの見た目」文言と WYSIWYG 契約を維持 Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |