Skip to content

fix(plugins): headings plugin has remove false by default#187

Merged
farnabaz merged 2 commits into
mainfrom
fix/plugin-headings
May 11, 2026
Merged

fix(plugins): headings plugin has remove false by default#187
farnabaz merged 2 commits into
mainfrom
fix/plugin-headings

Conversation

@atinux

@atinux atinux commented May 11, 2026

Copy link
Copy Markdown
Contributor

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)

📚 Description

  • Fix docs and JSDoc that incorrectly stated remove defaults to true, the actual default is false since the headings: do not remove extracted node change
  • Add headings.test.ts covering default extraction, remove: true, missing title, and custom tags

📝 Checklist

  • I have run pnpm verify and it passes.
  • I have updated the documentation accordingly.

@vercel

vercel Bot commented May 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
comark Ready Ready Preview May 11, 2026 10:22am
comark-json-render Ready Ready Preview May 11, 2026 10:22am
comark-nextjs Ready Ready Preview May 11, 2026 10:22am
comark-nuxt Ready Ready Preview May 11, 2026 10:22am
comark-svelte Ready Ready Preview May 11, 2026 10:22am
comark-twoslash Ready Ready Preview May 11, 2026 10:22am
comark-vue Ready Ready Preview May 11, 2026 10:22am

@atinux
atinux requested a review from farnabaz May 11, 2026 10:16
@pkg-pr-new

pkg-pr-new Bot commented May 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

comark

npm i https://pkg.pr.new/comark@187

@comark/ansi

npm i https://pkg.pr.new/@comark/ansi@187

@comark/html

npm i https://pkg.pr.new/@comark/html@187

@comark/nuxt

npm i https://pkg.pr.new/@comark/nuxt@187

@comark/react

npm i https://pkg.pr.new/@comark/react@187

@comark/svelte

npm i https://pkg.pr.new/@comark/svelte@187

@comark/vue

npm i https://pkg.pr.new/@comark/vue@187

commit: 0083a1e

@farnabaz farnabaz 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.

Thanks

@farnabaz
farnabaz merged commit 78c2e66 into main May 11, 2026
10 checks passed
@farnabaz
farnabaz deleted the fix/plugin-headings branch May 11, 2026 11:43
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