Skip to content

feat(plugins): allow disabling headings title/description extraction#188

Merged
farnabaz merged 1 commit into
mainfrom
feat/headings-disable-tags
May 12, 2026
Merged

feat(plugins): allow disabling headings title/description extraction#188
farnabaz merged 1 commit into
mainfrom
feat/headings-disable-tags

Conversation

@atinux

@atinux atinux commented May 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Allow titleTag and descriptionTag options in the headings plugin to accept false to disable the corresponding extraction entirely
  • Added tests for titleTag: false, descriptionTag: false, and both disabled
  • Updated docs with new type signatures and usage examples

Test plan

  • pnpm vitest run test/headings.test.ts — all 8 tests pass

Made with Cursor

Allow `titleTag` and `descriptionTag` options to accept `false` to
disable the corresponding extraction entirely.

Co-authored-by: Cursor <cursoragent@cursor.com>
@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 1:29pm
comark-json-render Ready Ready Preview May 11, 2026 1:29pm
comark-nextjs Ready Ready Preview May 11, 2026 1:29pm
comark-nuxt Ready Ready Preview May 11, 2026 1:29pm
comark-svelte Ready Ready Preview May 11, 2026 1:29pm
comark-twoslash Ready Ready Preview May 11, 2026 1:29pm
comark-vue Ready Ready Preview May 11, 2026 1:29pm

@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@188

@comark/ansi

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

@comark/html

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

@comark/nuxt

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

@comark/react

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

@comark/svelte

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

@comark/vue

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

commit: e0e0ef9

@farnabaz
farnabaz merged commit 82095d2 into main May 12, 2026
10 checks passed
@farnabaz
farnabaz deleted the feat/headings-disable-tags branch May 12, 2026 10:49
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