Skip to content

docs: fix broken code block formatting in @unkey/cache overview#6238

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/ea078f9f
Open

docs: fix broken code block formatting in @unkey/cache overview#6238
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/ea078f9f

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented May 21, 2026

Summary

Repair the corrupted "Hello World" code sample in libraries/ts/cache/overview.mdx so the example renders as TypeScript again instead of leaking into prose.

Changes

  • Move the opening ```ts Hello World fence out of the indented <CodeGroup> block so the fence is recognized at the document level.
  • Restore the /** ... */ JSDoc comments that had been mangled into escaped Markdown lists (/\*\*, - Define ..., \*/).
  • Re-indent the createCache({ ... }) object literal that had collapsed to column 0.
  • Replace the stray (4-backtick) closing fence with a normal ``` ```` closing fence.
  • Fix a related JS syntax slip in the Tiered Caches sample (});}), inside the createCache object literal) introduced by the same earlier reformatting.

Context

A previous "writing style standardization" pass reformatted this file and broke the first code block, causing the page to render the sample as escaped prose rather than code. A full-docs scan turned up no other spelling, grammar, duplicate-word, frontmatter, or markdown-syntax issues.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

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

Project Deployment Actions Updated (UTC)
dashboard Ready Ready Preview, Comment May 21, 2026 3:46pm

Request Review

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented May 21, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
unkey 🟢 Ready View Preview May 21, 2026, 3:55 PM

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.

0 participants