diff --git a/.gitignore b/.gitignore index c5fc77bb..c4d3a101 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,9 @@ pnpm-debug.log* # Vivliostyle temporary files .vivliostyle/ +# Vivliostyle preview (vite) cache +.vite/ + # ビルド成果物(PDF / EPUB / WebPub)はリポジトリに含めない。 # .github/workflows/deploy.yml が CI 側で `npm run build:formats` を実行して # dist/ に組み込み、GitHub Pages 配信時に同梱する。 diff --git a/_archive/footnotes-handwritten/README.md b/_archive/footnotes-handwritten/README.md new file mode 100644 index 00000000..74a696a1 --- /dev/null +++ b/_archive/footnotes-handwritten/README.md @@ -0,0 +1,124 @@ +# 脚注ガイド スクリーンショット撮影環境 + +`content/{en,ja}/cookbook/footnotes.md` に埋め込むスクリーンショットを +撮影するためのソース HTML を置く作業ディレクトリです。 + +## 設計方針 + +- **ページサイズを意図的に小さく設定**(140mm × 90mm 程度の短冊型)して、 + 「本文の参照位置 + 脚注エリア」だけが 1 ページに収まるようにしてある。 + 撮影時は **ページ全体** を撮るだけで OK。トリミング作業が不要になり、 + ファイルサイズも自然に抑えられる。 +- 各 HTML は完全自己完結(CSS は ` + +
+A footnote written directly in HTML as <span class="footnote">The footnote body. float: footnote moves it to the page-bottom area at layout time. is moved to the page-bottom footnote area at layout time, thanks to a theme (theme-base / theme-techbook) that defines .footnote { float: footnote }.
Multiple references in the same paragraphA second note. Numbering is automatic. share an auto-incrementing counter, generated by the ::footnote-call and ::footnote-marker pseudo-elements.