Skip to content

Conversation

dubadub
Copy link
Member

@dubadub dubadub commented Nov 5, 2024

Rendered

This pull request introduces a new block type to the Cooklang specification: sections. Sections allow users to group and organize recipe content into distinct logical segments, enhancing readability and usability, especially for complex recipes.

Key Features:

  • A new = Section header to define sections within a recipe. Sections are optional, and their scope ends with the next section or the end of the file.
  • Enables hierarchical organization of recipes, making them easier to read, write, and parse.
  • Applications can now identify and display sections, improving navigation and clarity in recipe UIs.

This change lays the groundwork for more advanced features like cross-referencing and workflow enhancements.

Relevant discussion threads:

Extensions Reference: Extensions Documentation

@dubadub dubadub marked this pull request as draft November 5, 2024 09:21
@dubadub dubadub changed the title 0006: Sections 0006 Sections Nov 5, 2024
@dubadub dubadub marked this pull request as ready for review November 17, 2024 14:20
@dubadub dubadub merged commit b4243b6 into main Nov 22, 2024
@dubadub dubadub deleted the proposal/0006-sections branch November 22, 2024 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant