Skip to content

docs: ✏️ correct $node factory parameter description - #2518

Merged
Saul-Mirone merged 2 commits into
Milkdown:mainfrom
mahutt:main
Nov 27, 2026
Merged

Saul-Mirone merged 2 commits into
Milkdown:mainfrom
mahutt:main

Conversation

@mahutt

@mahutt mahutt commented Oct 30, 2026

Copy link
Copy Markdown
Contributor
  • I read the contributing guide
  • I agree to follow the code of conduct

Summary

Updates $node's comment documentation to accurately describe the signature, which previously stated that the second parameter returns a function that returns a node schema. In reality, the second parameter returns a node schema directly.

The comment was reformatted (content unchanged) in 920cded, and has otherwise undergone no edits since it was authored in a657676. The error was unlikely to be noticed since, from what I can tell, a657676 wasn't merged in through a reviewed PR.

How did you test this change?

N/A: Documentation only change.

Updates $node's comment documentation to accurately describe the
signature, which previously stated that the second parameter returns a
function that returns a node schema. In reality, the second parameter
returns a node schema directly.
@vercel

vercel Bot commented Oct 30, 2026

Copy link
Copy Markdown

@mahutt is attempting to deploy a commit to the Milkdown Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ffc5b6f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Nov 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

@milkdown/components

npm i https://pkg.pr.new/@milkdown/components@2518

@milkdown/core

npm i https://pkg.pr.new/@milkdown/core@2518

@milkdown/crepe

npm i https://pkg.pr.new/@milkdown/crepe@2518

@milkdown/ctx

npm i https://pkg.pr.new/@milkdown/ctx@2518

@milkdown/exception

npm i https://pkg.pr.new/@milkdown/exception@2518

@milkdown/kit

npm i https://pkg.pr.new/@milkdown/kit@2518

@milkdown/prose

npm i https://pkg.pr.new/@milkdown/prose@2518

@milkdown/transformer

npm i https://pkg.pr.new/@milkdown/transformer@2518

@milkdown/utils

npm i https://pkg.pr.new/@milkdown/utils@2518

@milkdown/react

npm i https://pkg.pr.new/@milkdown/react@2518

@milkdown/vue

npm i https://pkg.pr.new/@milkdown/vue@2518

@milkdown/plugin-automd

npm i https://pkg.pr.new/@milkdown/plugin-automd@2518

@milkdown/plugin-block

npm i https://pkg.pr.new/@milkdown/plugin-block@2518

@milkdown/plugin-clipboard

npm i https://pkg.pr.new/@milkdown/plugin-clipboard@2518

@milkdown/plugin-collab

npm i https://pkg.pr.new/@milkdown/plugin-collab@2518

@milkdown/plugin-cursor

npm i https://pkg.pr.new/@milkdown/plugin-cursor@2518

@milkdown/plugin-diff

npm i https://pkg.pr.new/@milkdown/plugin-diff@2518

@milkdown/plugin-emoji

npm i https://pkg.pr.new/@milkdown/plugin-emoji@2518

@milkdown/plugin-highlight

npm i https://pkg.pr.new/@milkdown/plugin-highlight@2518

@milkdown/plugin-history

npm i https://pkg.pr.new/@milkdown/plugin-history@2518

@milkdown/plugin-indent

npm i https://pkg.pr.new/@milkdown/plugin-indent@2518

@milkdown/plugin-listener

npm i https://pkg.pr.new/@milkdown/plugin-listener@2518

@milkdown/plugin-prism

npm i https://pkg.pr.new/@milkdown/plugin-prism@2518

@milkdown/plugin-slash

npm i https://pkg.pr.new/@milkdown/plugin-slash@2518

@milkdown/plugin-streaming

npm i https://pkg.pr.new/@milkdown/plugin-streaming@2518

@milkdown/plugin-tooltip

npm i https://pkg.pr.new/@milkdown/plugin-tooltip@2518

@milkdown/plugin-trailing

npm i https://pkg.pr.new/@milkdown/plugin-trailing@2518

@milkdown/plugin-upload

npm i https://pkg.pr.new/@milkdown/plugin-upload@2518

@milkdown/preset-commonmark

npm i https://pkg.pr.new/@milkdown/preset-commonmark@2518

@milkdown/preset-gfm

npm i https://pkg.pr.new/@milkdown/preset-gfm@2518

@milkdown/theme-nord

npm i https://pkg.pr.new/@milkdown/theme-nord@2518

commit: ffc5b6f

@Saul-Mirone
Saul-Mirone added this pull request to the merge queue Nov 27, 2026
Merged via the queue into Milkdown:main with commit c5d4f8f Nov 27, 2026
14 of 15 checks passed
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.

2 participants