Requires: Outliner Assistant
Workflow: See [[2026-04-10 Rewriter Instruction Set & Outliner Assistant Streamlined]]

// CREATE .md files
[Convert books to .md outlines]
- Open multiple chat.qwen.ai tabs, one for each chapter
![[Outliner chat.qwen.ai.png]]
- Attach [[Outliner 1.6.9]] and [[Outliner Additional Requirements 0.5]]
	- **For Qwen**: "Apply the outliner.md and outlineradditionalrequirements.md to the article" into the prompt
	- **For Gemini**: "Apply the outliner.md and outlineradditionalrequirements.md to the article. Strip cite tags. Print previous message verbatim but strip cite tags: keep things like 171819 but strip things like [cite_start], [cite_start: 123], [cite: 123] and [cite_end]."

[Use Qwen Code to create placeholder .md files]

- Access the Outliner Assistant folder and run qwen code in a terminal in that folder
- Paste the output into .md files
	- **Type** this into qwen code to create the .md files: "Create empty placeholder .md files for the <target book> book in a subfolder named after the book in the MarkDown directory. Do not overwrite, delete or move any existing md files,  skip the books that have already had .md created for them."
	- **Batch** 
		- "Create empty placeholder .md files for the available books, whose md files have not previously been created, in subfolders named after the books in the MarkDown directory.  Do not overwrite, delete or move any existing md files, skip the books that have already had .md created for them."
		- "In each of these created folders I want not README.md or placeholder.md but placeholder mds named in this format Chapter X - Chapter Title.md (get the names from the split book's folder)"

// FIXES
**Malformed Gemini 3.1 Flash headers**: 

1. Fix the headers in the md in <target book folder> so that they all say the book is <correct name> (not <incorrect name>) and that they are  formatted in this structure (has the Book:, What's this chapter about:, and Tags: fields correctly described): # 2. CHAPTER TWO

> **Book:** Pixie
> **What's this chapter about?** Pixie meets a talking giraffe named Nous, learns of her life-threatening situation at the zoo, and attempts to convince her family to help rescue her.
> **Tags:** Communication, Empathy, Problem-solving, Family Dynamics, Courage

2. - **Batch:** Fix the headers in the md in <target book folder> so that they all say the book is <correct name> (not <incorrect name>) and that they are  formatted in this structure (has the Book:, What's this chapter about:, and Tags: fields correctly described): # 2. CHAPTER TWO

> **Book:** Pixie
> **What's this chapter about?** Pixie meets a talking giraffe named Nous, learns of her life-threatening situation at the zoo, and attempts to convince her family to help rescue her.
> **Tags:** Communication, Empathy, Problem-solving, Family Dynamics, Courage

// CONVERT the .md files into HTML
[Use Qwen Code]
- **Type** this into qwen code to create the .html files:"Execute ConvertMDtoHTML.md on all unprocessed but present md books"
- **Batch** Regenerate html for all books with nonplaceholder md, note you should skip books whose files are all duplicates of each other (they contain placeholders)
