Skip to content

Add option to begin-at-new-page for (sub)tasks - #69

Merged
rabuu merged 2 commits into
mainfrom
task-at-new-page
Jan 21, 2026
Merged

Add option to begin-at-new-page for (sub)tasks#69
rabuu merged 2 commits into
mainfrom
task-at-new-page

Conversation

@rabuu

@rabuu rabuu commented Jan 19, 2026

Copy link
Copy Markdown
Owner

Describe your changes

This adds a begin-at-new-page option for the task and subtask functions.

It just inserts a colbreak before the task/subtask.
For the very first task, it does nothing. This enables the following pattern:

#let task = task.with(begin-at-new-page: true)

#task[ajakjal]
#task[ajkajl]
#task[aklak;lak;]

where every task begins at a new page.

Related issues and/or PRs

Resolves #63.

Checklist

  • The test suite passes
  • The code is formatted
  • The code is readable and well-documented
  • Every word that can be in the output is translatable
  • All new features are reflected in a test or example
  • All new examples have a generated associated test
  • Changes to the public API are documented in the CHANGELOG
  • All related PRs and issues are linked
  • An appropriate label is chosen

@rabuu
rabuu requested a review from leanderhert January 19, 2026 23:21
@rabuu rabuu added the enhancement New feature or request label Jan 19, 2026

@leanderhert leanderhert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!
Looks greate, I have nothing to add.

@rabuu
rabuu merged commit 17490be into main Jan 21, 2026
2 checks passed
@rabuu
rabuu deleted the task-at-new-page branch January 21, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to begin task at new page

2 participants