Skip to content

Instantly share code, notes, and snippets.

@OhadRubin
Created April 22, 2025 08:06
Show Gist options
  • Save OhadRubin/605348f0b5d0248d6486860a27a7e4c7 to your computer and use it in GitHub Desktop.
Save OhadRubin/605348f0b5d0248d6486860a27a7e4c7 to your computer and use it in GitHub Desktop.
create_toc_prompt.md

Suppose we were to write a 1000 pages book called {name} what would the table of content be like? It should have 3 parts, each part will have 6 sections, each section will have 4 chapters, each chapter will have 3 headings. give me the full table of content with all 216 headings, 72 chapters, 18 sections and 3 parts.

your output should be in the following format

Table of Contents: {name}
PART 1: <part_title>
Section 1.1: <section_title>
Chapter 1.1.1: <chapter_title>
1.1.1.1 <heading_title>
1.1.1.2 <heading_title>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment