Skip to content

Extract some print functions in markdown#18321

Merged
fisker merged 3 commits into
prettier:mainfrom
seiyab:extract-md-funcs
Nov 26, 2025
Merged

Extract some print functions in markdown#18321
fisker merged 3 commits into
prettier:mainfrom
seiyab:extract-md-funcs

Conversation

@seiyab

@seiyab seiyab commented Nov 25, 2025

Copy link
Copy Markdown
Collaborator

Description

#18312

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

@seiyab seiyab marked this pull request as ready for review November 25, 2025 23:10
@pkg-pr-new

pkg-pr-new Bot commented Nov 25, 2025

Copy link
Copy Markdown

Open in StackBlitz

yarn add https://pkg.pr.new/prettier/prettier/@prettier/plugin-hermes@18321.tgz
yarn add https://pkg.pr.new/prettier/prettier/@prettier/plugin-oxc@18321.tgz
yarn add https://pkg.pr.new/prettier/prettier@18321.tgz

commit: 1b35cf1

@netlify

netlify Bot commented Nov 25, 2025

Copy link
Copy Markdown

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 1b35cf1
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/6926944937597d00083cafb3
😎 Deploy Preview https://deploy-preview-18321--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

(siblingNode) => siblingNode.ordered === node.ordered,
);

function getNthSiblingIndex(node, parentNode, condition) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should be able to replace this functionality with path.siblings.filter(...).

@fisker fisker merged commit e2ed914 into prettier:main Nov 26, 2025
33 checks passed
@fisker

fisker commented Nov 26, 2025

Copy link
Copy Markdown
Member

Merging this into remark-11-markdown, please wait. Done

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