Skip to content

Front matter for llms#218

Merged
DreamingInBinary merged 2 commits into
mainfrom
front-matter-for-llms
Jun 23, 2026
Merged

Front matter for llms#218
DreamingInBinary merged 2 commits into
mainfrom
front-matter-for-llms

Conversation

@DreamingInBinary

Copy link
Copy Markdown
Contributor

LLM context

Add extraction and hoisting of a leading agent visibility note so Markdown pages can place the agent note before the page title. Introduce extractLeadingAgentVisibilityMarkdown in visibility.ts to detect and remove a leading AGENT_VISIBILITY_MARKDOWN block and return the remaining markdown. Use this in getPageMarkdownText to prefer the extracted agent note (falling back to injectedAgentNote) and adjust the joined markdown order. Add tests in visibility.test.ts to cover extraction behavior.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
superwall-docs-staging 6314f56 Commit Preview URL

Branch Preview URL
Jun 23 2026, 04:22 PM

@DreamingInBinary DreamingInBinary merged commit 0ea05eb into main Jun 23, 2026
2 checks passed
@DreamingInBinary DreamingInBinary deleted the front-matter-for-llms branch June 23, 2026 17:44
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.

1 participant