| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:58f3d80f-20aa-9b00-11ac-085920a9cb2b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D764:1BB96C:AE67EA:EEF83C:6AFB50B7 |
| html-safe-nonce | 3e6d5ed80242d22ac5dad862270fd3b182b32ab9e24781bb2bc3a59453356a5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzY0OjFCQjk2QzpBRTY3RUE6RUVGODNDOjZBRkI1MEI3IiwidmlzaXRvcl9pZCI6IjIyOTMxMjIyMTU1MjU5NjE5MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 570585e419501c0cf8caa3a8257d9d741feddcac5ffb7097f13af70cb624ec6b |
| hovercard-subject-tag | pull_request:4709661656 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8543/files |
| twitter:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| og:image:alt | Summary
```diff fences in markdown files render as line diffs: tinted add/remove rows, word-level highlights, line numbers when hunk headers carry them, and long unchanged runs collapsed behind an... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cbf66c024bb6d10e6955baa7413c54cf13a201bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/simstudioai/sim/pull/8543/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8543%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8543%2Ffiles |
| Sign up | https://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 |
| Reload | https://github.com/simstudioai/sim/pull/8543/files |
| Reload | https://github.com/simstudioai/sim/pull/8543/files |
| Reload | https://github.com/simstudioai/sim/pull/8543/files |
| simstudioai | https://github.com/simstudioai |
| sim | https://github.com/simstudioai/sim |
| Code | https://github.com/simstudioai/sim |
| Issues129 (129) | https://github.com/simstudioai/sim/issues |
| Pull requests197 (197) | https://github.com/simstudioai/sim/pulls |
| Actions | https://github.com/simstudioai/sim/actions |
| Projects | https://github.com/simstudioai/sim/projects |
| Security and quality | https://github.com/simstudioai/sim/security |
| Insights | https://github.com/simstudioai/sim/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose |
| TheodoreSpeaks | https://github.com/TheodoreSpeaks |
| staging | https://github.com/simstudioai/sim/tree/staging |
| feat/diff-embeds | https://github.com/simstudioai/sim/tree/feat/diff-embeds |
|
Conversation
31
| https://github.com/simstudioai/sim/pull/8543 |
|
Commits
13
| https://github.com/simstudioai/sim/pull/8543/commits |
|
Checks
31
| https://github.com/simstudioai/sim/pull/8543/checks |
|
Files changed
| https://github.com/simstudioai/sim/pull/8543/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8543/files |
|
feat(files): render diff fences and theme mermaid diagrams
| https://github.com/simstudioai/sim/pull/8543/files#top |
|
Show all changes
13 commits
| https://github.com/simstudioai/sim/pull/8543/files |
|
bbad44b
improvement(files): theme mermaid diagrams with app tokens
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/bbad44bf391e37205bc20ff177f0068027abf314 |
|
d21378a
feat(files): render diff fences with source-checked state
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/d21378a37bd9522c915df8b44ae847e5f8481059 |
|
e2458c1
improvement(files): frame diffs as cards with tinted change rows
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/e2458c1afd49e268974f748e5fbd867ce209a362 |
|
83a6378
improvement(files): render prose diffs as source excerpt cards and co…
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/83a6378731b33e2477c26fff7f7b16ec60f7caec |
|
b540a7d
improvement(files): put the open link beside the excerpt title
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/b540a7d49cea2ac1411bdb3054fc2750089a2062 |
|
4466242
improvement(files): render inline bold and code in prose diffs
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/446624237b82328ec3ce23f6b273b31003ee63f9 |
|
96de0bf
improvement(files): render edits as line diffs with softer change colors
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/96de0bf29c5de264e198d62bdb98d7c9dc784392 |
|
4e2c8ee
improvement(files): draw mermaid flowcharts like workflow blocks and …
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/4e2c8ee49c52c1376e91936bd18dc5b86e3cc2db |
|
daa963c
fix(files): keep mermaid labels inside their nodes and fork edges cle…
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/daa963ce94b01f50b8bad8a2a38371e3af9a1dbb |
|
3431935
improvement(files): drop diff source checks and split view, size tabl…
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/343193561fe323ac3f17d321dbf389ebc1399e3c |
|
9735ca8
improvement(files): keep the diff parser out of the editor bundle
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/9735ca8b59479320ea151884e528731a8858a224 |
|
2602094
fix(files): parse multi-file and copy git diffs, cap word diffs, read…
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/26020947a9e4248480657b1648b902192fd5aac8 |
|
321d23a
fix(files): title renames by their new path and expand collapsed line…
TheodoreSpeaks Oct 1, 2026
| https://github.com/simstudioai/sim/pull/8543/commits/321d23a0749199d5a7efc72f10cd6da4dc9c655a |
|
Clear filters
| https://github.com/simstudioai/sim/pull/8543/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8543/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8543/files |
|
mermaid-diagram.tsx
| https://github.com/simstudioai/sim/pull/8543/files#diff-64b6fbabd36cf22d12e1b74760afcc0a17cf0b729f7da1c871afea6a59d566cd |
|
mermaid-theme.ts
| https://github.com/simstudioai/sim/pull/8543/files#diff-8ce95a7b4c562e2c5b8ce663220f16bea817bb3542185732e664ea34325109c4 |
|
code-block.tsx
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
rich-markdown-editor.css
| https://github.com/simstudioai/sim/pull/8543/files#diff-72cd52075ca5767b1230f7ea9f4ec66103bff3ff90441919771b63bfad3a7984 |
|
dashboard-panel.tsx
| https://github.com/simstudioai/sim/pull/8543/files#diff-154aaab91d120b8635fbfa0263f727c0cb1fd9428ab97d26283beb88e3a974e2 |
|
diff-embed.tsx
| https://github.com/simstudioai/sim/pull/8543/files#diff-7060b329f615777adda883d42f1763dc0e956831c277453f48d5f7c4f777de83 |
|
diff-view.tsx
| https://github.com/simstudioai/sim/pull/8543/files#diff-dc5d757a90d8a791d7c6fac217d05f025af701f0dc5532f9b0b3be49e94abbca |
|
embed-language.ts
| https://github.com/simstudioai/sim/pull/8543/files#diff-1a9e460139603af53cbe3ab96db9061b12e0f1fa68008d94fea9c22eef386ee0 |
|
unified.test.ts
| https://github.com/simstudioai/sim/pull/8543/files#diff-c060389dfa1a737428c0f99681a1bb82de908100fbd7904389cd88e5fd981752 |
|
unified.ts
| https://github.com/simstudioai/sim/pull/8543/files#diff-dcf6537dacb36ec98667d40961654a80056f769ed61081ea6e19572c90afa1df |
|
check-tool-registry-boundary.baseline.json
| https://github.com/simstudioai/sim/pull/8543/files#diff-e7b820ce86615ed78dd6fbaf0b57b20a2ac350d700c3dc0fc6b71207a656e4b7 |
| apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/mermaid-diagram.tsx | https://github.com/simstudioai/sim/pull/8543/files#diff-64b6fbabd36cf22d12e1b74760afcc0a17cf0b729f7da1c871afea6a59d566cd |
|
View file
| https://github.com/simstudioai/sim/blob/321d23a0749199d5a7efc72f10cd6da4dc9c655a/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/mermaid-diagram.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8543/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-64b6fbabd36cf22d12e1b74760afcc0a17cf0b729f7da1c871afea6a59d566cd |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-64b6fbabd36cf22d12e1b74760afcc0a17cf0b729f7da1c871afea6a59d566cd |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-64b6fbabd36cf22d12e1b74760afcc0a17cf0b729f7da1c871afea6a59d566cd |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-64b6fbabd36cf22d12e1b74760afcc0a17cf0b729f7da1c871afea6a59d566cd |
| apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/mermaid-theme.ts | https://github.com/simstudioai/sim/pull/8543/files#diff-8ce95a7b4c562e2c5b8ce663220f16bea817bb3542185732e664ea34325109c4 |
|
View file
| https://github.com/simstudioai/sim/blob/321d23a0749199d5a7efc72f10cd6da4dc9c655a/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/mermaid-theme.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8543/{{ revealButtonHref }} |
| Please reload this page | https://github.com/simstudioai/sim/pull/8543/files |
| .../workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/code-block.tsx | https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
View file
| https://github.com/simstudioai/sim/blob/321d23a0749199d5a7efc72f10cd6da4dc9c655a/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/code-block.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8543/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-2e6b03fc7fa2efc4338be2d282772e5462af53142f4e061ef3678757b44b3971 |
| .../[workspaceId]/files/components/file-viewer/rich-markdown-editor/rich-markdown-editor.css | https://github.com/simstudioai/sim/pull/8543/files#diff-72cd52075ca5767b1230f7ea9f4ec66103bff3ff90441919771b63bfad3a7984 |
|
View file
| https://github.com/simstudioai/sim/blob/321d23a0749199d5a7efc72f10cd6da4dc9c655a/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/rich-markdown-editor.css |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8543/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-72cd52075ca5767b1230f7ea9f4ec66103bff3ff90441919771b63bfad3a7984 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-72cd52075ca5767b1230f7ea9f4ec66103bff3ff90441919771b63bfad3a7984 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-72cd52075ca5767b1230f7ea9f4ec66103bff3ff90441919771b63bfad3a7984 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-72cd52075ca5767b1230f7ea9f4ec66103bff3ff90441919771b63bfad3a7984 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-72cd52075ca5767b1230f7ea9f4ec66103bff3ff90441919771b63bfad3a7984 |
| apps/sim/components/dashboards/dashboard-panel.tsx | https://github.com/simstudioai/sim/pull/8543/files#diff-154aaab91d120b8635fbfa0263f727c0cb1fd9428ab97d26283beb88e3a974e2 |
|
View file
| https://github.com/simstudioai/sim/blob/321d23a0749199d5a7efc72f10cd6da4dc9c655a/apps/sim/components/dashboards/dashboard-panel.tsx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/simstudioai/sim/pull/8543/{{ revealButtonHref }} |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-154aaab91d120b8635fbfa0263f727c0cb1fd9428ab97d26283beb88e3a974e2 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-154aaab91d120b8635fbfa0263f727c0cb1fd9428ab97d26283beb88e3a974e2 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-154aaab91d120b8635fbfa0263f727c0cb1fd9428ab97d26283beb88e3a974e2 |
|
| https://github.com/simstudioai/sim/pull/8543/files#diff-154aaab91d120b8635fbfa0263f727c0cb1fd9428ab97d26283beb88e3a974e2 |
| Please reload this page | https://github.com/simstudioai/sim/pull/8543/files |
| Please reload this page | https://github.com/simstudioai/sim/pull/8543/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |