René's URL Explorer Experiment


Title: improvement(docs): clean up leftovers from the code-block alignment PR by waleedlatif1 · Pull Request #6825 · simstudioai/sim · GitHub

Open Graph Title: improvement(docs): clean up leftovers from the code-block alignment PR by waleedlatif1 · Pull Request #6825 · simstudioai/sim

X Title: improvement(docs): clean up leftovers from the code-block alignment PR by waleedlatif1 · Pull Request #6825 · simstudioai/sim

Description: Summary Follow-up to #6810. That PR went through several revisions and a couple of reverted approaches; this clears the residue they left behind. No rendering changes — comments, one dead CSS rule, one dead call, and two emcn reuses. Removes a highlighter registration that can never fire. fumadocs-openapi calls renderCodeBlock with a hard-coded "json" from both call sites (request-tabs.js:76, response-tabs.js:48), so the docs CodeBlock never receives a shell language and the shell-scoped JSON-body injection could never apply there. The getHighlighter call was pure overhead on every API sample render. Corrects the grammar's stated coverage. It applies to prose fences only, via langs. Both API reference paths are unreachable — request/response samples are JSON, and the cURL usage tabs highlight client-side off fumadocs' own factory. Removes a dead CSS rule — the copy-button svg sizing rule sized an element a later rule sets display: none on, ungated. Superseded by the mask approach. Fixes comments that had gone false as the code moved: page.tsx still argued about a Shiki factory that was deleted; global.css's section header claimed the component owns the shell while the next rule defines it there; code-block.tsx said API samples bypass it when they route through it; getCode's TSDoc gave a reason (line numbers leaking into the clipboard) that cannot happen, since the gutter is a ::before and pseudo-element content never reaches textContent. Qualifies the --copy-glyph rules with the :has(> svg[class*="lucide"]) the group's own comment asserts of every rule in it. Composes chipGeometryClass and ChipChevronDown from @sim/emcn instead of restating their literals, per chip-chrome.ts's "never re-derive the literal; import it". Notes two upstream constraints so they aren't rediscovered: fumadocs ships its own gutter for lines-meta fences that cannot be suppressed from here, and biome's noDuplicateProperties is why the tablist hover rule stays a separate block rather than a nested @variant. Type of Change Improvement Testing Production build passes (EXIT=0, 4366 pages). bun run lint:check, bun run type-check, and check:audits (29 audits) all pass. Client bundle unchanged from the state Vercel accepted on #6810 — json-schema-ts in 0 chunks. Every claim in the new comments was verified against source rather than assumed: the renderCodeBlock call sites, the ClientCodeBlockProvider export map, the biome rule behaviour, and the --code-surface / --code-gutter consumer counts. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Follow-up to #6810. That PR went through several revisions and a couple of reverted approaches; this clears the residue they left behind. No rendering changes — comments, one dead CSS rule,...

X Description: Summary Follow-up to #6810. That PR went through several revisions and a couple of reverted approaches; this clears the residue they left behind. No rendering changes — comments, one dead CSS rule,...

Opengraph URL: https://github.com/simstudioai/sim/pull/6825

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:57f478b5-4b53-52c9-648a-9589473a7fdd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B76:223A5F:AEBD4F:F0D579:6AFB52A8
html-safe-noncefaa30b1cb29f15cc04448b83153743af6276c51a95006af558e95f9fa1415ba4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qjc2OjIyM0E1RjpBRUJENEY6RjBENTc5OjZBRkI1MkE4IiwidmlzaXRvcl9pZCI6IjY3MDY2NzE1MDEyNzkxODc2MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac383967eef596d2abf220ad1743cd946a54fa5d8b33ca10656261b951e7f86bd4
hovercard-subject-tagpull_request:4308852162
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/6825/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Follow-up to #6810. That PR went through several revisions and a couple of reverted approaches; this clears the residue they left behind. No rendering changes — comments, one dead CSS rule,...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6825/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6825%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6825%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/6825/files
Reloadhttps://github.com/simstudioai/sim/pull/6825/files
Reloadhttps://github.com/simstudioai/sim/pull/6825/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
docs/codeblock-cleanuphttps://github.com/simstudioai/sim/tree/docs/codeblock-cleanup
Conversation 8 https://github.com/simstudioai/sim/pull/6825
Commits 2 https://github.com/simstudioai/sim/pull/6825/commits
Checks 30 https://github.com/simstudioai/sim/pull/6825/checks
Files changed https://github.com/simstudioai/sim/pull/6825/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6825/files
improvement(docs): clean up leftovers from the code-block alignment PR https://github.com/simstudioai/sim/pull/6825/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/6825/files
3ae2cd7 improvement(docs): clear leftovers from the reverted revisions waleedlatif1 Aug 18, 2026 https://github.com/simstudioai/sim/pull/6825/commits/3ae2cd7462479791e0d7b75d3e94e50f4055fee1
7741da6 fix(docs): drop a highlighter registration that can never fire waleedlatif1 Aug 18, 2026 https://github.com/simstudioai/sim/pull/6825/commits/7741da6b933496549bb76a15b9f52495296bde18
Clear filters https://github.com/simstudioai/sim/pull/6825/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6825/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6825/files
page.tsx https://github.com/simstudioai/sim/pull/6825/files#diff-06b1c10c836a091163abdd79e5eeb5a7dcbc34f76c668646427707a423d0e74a
global.css https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
api-example-selector.tsx https://github.com/simstudioai/sim/pull/6825/files#diff-ce2127d31cb2a8269c555ac39777b44939419265e58ca63ab97c05ce7fc352a0
code-block.tsx https://github.com/simstudioai/sim/pull/6825/files#diff-bbc2b65e4b5cad73960f1ff04777cd5d6a260481cd48e868c045c4ab2c59a250
shiki-curl-json.ts https://github.com/simstudioai/sim/pull/6825/files#diff-320a34189cc73dc31939f1ef4a9cba278bbd18bc9d182688e07fbb404928a0c4
apps/docs/app/[lang]/[[...slug]]/page.tsxhttps://github.com/simstudioai/sim/pull/6825/files#diff-06b1c10c836a091163abdd79e5eeb5a7dcbc34f76c668646427707a423d0e74a
View file https://github.com/simstudioai/sim/blob/7741da6b933496549bb76a15b9f52495296bde18/apps/docs/app/%5Blang%5D/%5B%5B...slug%5D%5D/page.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6825/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6825/files#diff-06b1c10c836a091163abdd79e5eeb5a7dcbc34f76c668646427707a423d0e74a
https://github.com/simstudioai/sim/pull/6825/files#diff-06b1c10c836a091163abdd79e5eeb5a7dcbc34f76c668646427707a423d0e74a
https://github.com/simstudioai/sim/pull/6825/files#diff-06b1c10c836a091163abdd79e5eeb5a7dcbc34f76c668646427707a423d0e74a
https://github.com/simstudioai/sim/pull/6825/files#diff-06b1c10c836a091163abdd79e5eeb5a7dcbc34f76c668646427707a423d0e74a
apps/docs/app/global.csshttps://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
View file https://github.com/simstudioai/sim/blob/7741da6b933496549bb76a15b9f52495296bde18/apps/docs/app/global.css
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6825/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
Please reload this pagehttps://github.com/simstudioai/sim/pull/6825/files
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
https://github.com/simstudioai/sim/pull/6825/files#diff-9805837ec07d660373de421b1f841528f02474afa6170acac4f1efecccfc0399
apps/docs/components/ui/api-example-selector.tsxhttps://github.com/simstudioai/sim/pull/6825/files#diff-ce2127d31cb2a8269c555ac39777b44939419265e58ca63ab97c05ce7fc352a0
View file https://github.com/simstudioai/sim/blob/7741da6b933496549bb76a15b9f52495296bde18/apps/docs/components/ui/api-example-selector.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6825/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6825/files#diff-ce2127d31cb2a8269c555ac39777b44939419265e58ca63ab97c05ce7fc352a0
https://github.com/simstudioai/sim/pull/6825/files#diff-ce2127d31cb2a8269c555ac39777b44939419265e58ca63ab97c05ce7fc352a0
https://github.com/simstudioai/sim/pull/6825/files#diff-ce2127d31cb2a8269c555ac39777b44939419265e58ca63ab97c05ce7fc352a0
https://github.com/simstudioai/sim/pull/6825/files#diff-ce2127d31cb2a8269c555ac39777b44939419265e58ca63ab97c05ce7fc352a0
https://github.com/simstudioai/sim/pull/6825/files#diff-ce2127d31cb2a8269c555ac39777b44939419265e58ca63ab97c05ce7fc352a0
apps/docs/components/ui/code-block.tsxhttps://github.com/simstudioai/sim/pull/6825/files#diff-bbc2b65e4b5cad73960f1ff04777cd5d6a260481cd48e868c045c4ab2c59a250
View file https://github.com/simstudioai/sim/blob/7741da6b933496549bb76a15b9f52495296bde18/apps/docs/components/ui/code-block.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6825/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6825/files#diff-bbc2b65e4b5cad73960f1ff04777cd5d6a260481cd48e868c045c4ab2c59a250
https://github.com/simstudioai/sim/pull/6825/files#diff-bbc2b65e4b5cad73960f1ff04777cd5d6a260481cd48e868c045c4ab2c59a250
https://github.com/simstudioai/sim/pull/6825/files#diff-bbc2b65e4b5cad73960f1ff04777cd5d6a260481cd48e868c045c4ab2c59a250
apps/docs/lib/shiki-curl-json.tshttps://github.com/simstudioai/sim/pull/6825/files#diff-320a34189cc73dc31939f1ef4a9cba278bbd18bc9d182688e07fbb404928a0c4
View file https://github.com/simstudioai/sim/blob/7741da6b933496549bb76a15b9f52495296bde18/apps/docs/lib/shiki-curl-json.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6825/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6825/files#diff-320a34189cc73dc31939f1ef4a9cba278bbd18bc9d182688e07fbb404928a0c4
https://github.com/simstudioai/sim/pull/6825/files#diff-320a34189cc73dc31939f1ef4a9cba278bbd18bc9d182688e07fbb404928a0c4
Please reload this pagehttps://github.com/simstudioai/sim/pull/6825/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.