Recipe Structure
Ponzu looks for specific sections in your recipe files in order to display them intelligently while you cook.
How sections are identified
Section titled “How sections are identified”The parser looks for two specific level-2 headers in the markdown body (everything after the YAML frontmatter):
## Ingredients## InstructionsBoth headers must be present and ## Ingredients must appear before ## Instructions.
If either header is missing or they appear in the wrong order, the entire recipe is treated as a single block.
More detail
Section titled “More detail”When both headers are found in order, the recipe is split into three regions:
- Preamble — any content that appears before
## Ingredients. This might be a short description, a note about the dish, etc. It’s optional. - Ingredients — content between
## Ingredientsand## Instructions, excluding both headers. - Instructions — all content after
## Instructionsto the end of the file.
Preamble
## Ingredients
...ingredients content
## Instructions
...instructions content (everything after this header to end of file)