Yes I have been thinking about it recently on how best to structure it.
Will get some code laid down this month for it.
I’m thinking to extend it so it works h2-h3 and even h4.
To attach content to H2 that doesn’t have any children use.
<prompt_h2_no_children>
<h2>%h2%</h2>
[write an answer about %h2% in language %language%.
Use html <p></p> tags. Don't use html attributes. Start with a paragraph.
{Insert a html <ul><li> bullet list or a <ol><li> numbered list||||}.
The topic of the article is %keyword%.]
</prompt_h2_no_children>
For any other H2, you can use normal prompt h2
<prompt_h2>
<h2>%h2%</h2>
[write a short introductory paragraph about %h2% in language %language%.
Use html <p></p> tags. Don't use html attributes. Start with a paragraph.
The topic of the article is %keyword%.]
</prompt_h2>
The new outlines are inside ai_outline_prompts
<ai_outline_prompts>
<prompt_h2>
<h2>%h2%</h2>
[write a short introductory paragraph about %h2% in language %language%.
Use html <p></p> tags. Don't use html attributes. Start with a paragraph.
The topic of the article is %keyword%.]
</prompt_h2>
<prompt_h2_no_children>
<h2>%h2%</h2>
[write an answer about %h2% in language %language%.
Use html <p></p> tags. Don't use html attributes. Start with a paragraph.
{Insert a html <ul><li> bullet list or a <ol><li> numbered list||||}.
The topic of the article is %keyword%.]
</prompt_h2_no_children>
<prompt_h3_no_children>
<h3>%h3%</h3>
[write an answer about %h2%, %h3% in language %language%.
Use html <p></p> tags. Don't use html attributes. Start with a paragraph.
{Insert a html <ul><li> bullet list or a <ol><li> numbered list||||}.
The topic of the article is %keyword%.]
</prompt_h3_no_children>
</ai_outline_prompts>
To use these new prompts you must load them from the list.
FYI: Old outlines still work if you have them loaded, but you can re-select these new templates to get more control.
So can we use user macros inside the outline? I don’t see any user macros in your examples…
FOR EXAMPLE:
<prompt_h2>
%writeH2section% = [Write a section about %h2%]
%filter1% = [Summarize %writeH2section% into 1 paragraph]
%filter2% = [openai alt1|Llama3.1: Bold important words from %filter1%]
%finaldraft% = [openai alt1|Phi3.5: Fix Grammar and Humanize %filter2%]
%finaldraft%
</prompt_h2>
Remember, that was the whole point of this feature request … to be able to run Macro filters at the point the outline was being created … to fix AI issues, etc.
See my previous posts in this thread for reference.