BigHugger
sk Skill · bam-bam-2

book-pdf

마크다운 원고를 진짜 책처럼 보이는 PDF·EPUB 전자책으로 만든다. 표지, 판권 페이지, 실제 쪽번호가 달린 목차, 장별 러닝헤더까지 갖춘다. Paged.js 사용.

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
javascriptcssbashPython

book-pdf is an agent skill that turns a Markdown manuscript into book-like PDF and EPUB ebooks using Paged.js. It adds a cover, title page, copyright page, a table of contents with real page numbers, chapter page breaks, and running headers with page numbers, and bundles a Python script (scripts/html-to-pdf.py) that bakes the paginated HTML to PDF.

Plain page.pdf() output looks like a printed report; this skill encodes the six elements a real book needs, plus documented pitfalls (CSS page sizing, break rules, avoiding flexbox in openers) so you get a credible book layout.

Use it to

  • Convert a Markdown manuscript to a print-style PDF
  • Generate EPUB with cover and copyright page
  • Build a TOC with real page numbers
  • Apply chapter running headers and page numbers
  • Avoid Paged.js pagination pitfalls via the bundled script

For Writers and developers self-publishing Markdown manuscripts as ebooks

Host repository
bam-bam-2/solo-skills
Host stars
364
Host language
Python
topicspdfepubpaged.jsmarkdownbook-layouttypography