Skip to content

Merge upstream#100

Merged
TimvdLippe merged 10 commits intodevelopfrom
merge-upstream
Mar 26, 2026
Merged

Merge upstream#100
TimvdLippe merged 10 commits intodevelopfrom
merge-upstream

Conversation

@TimvdLippe
Copy link
Copy Markdown

Dit bevat ook de nieuwe feature uit speced#5124

deniak and others added 10 commits February 19, 2026 20:10
…eced#5105)

Co-authored-by: Sid Vishnoi <8426945+sidvishnoi@users.noreply.github.com>
We have a `preProcess` plugin that needs to store some information
for later use when a document is rendered. Currently, it is not
possible to update the `initialUserConfig` config object, since
any update to the `config` object is ignored. These updates in
plugins are visible to other plugins, but not to the rendered
document.

There is a way to update the object with `"amend-user-config"`,
but that requires publishing to the internal system. That system
isn't accessible to a plugin.

Therefore, add a new method that can be called with an `Object`
that forwards it to the internal publication system. That way,
a plugin can update configuration (like some of the core plugins
do) and update the `initialUserConfig`.
@TimvdLippe TimvdLippe merged commit f5103db into develop Mar 26, 2026
3 of 5 checks passed
@TimvdLippe TimvdLippe deleted the merge-upstream branch March 26, 2026 14:17
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.

5 participants