Title: Code samples with multiple indent levels don't display correctly in Chrome and Firefox · Issue #47 · WP-API/WP-API.github.io · GitHub
Open Graph Title: Code samples with multiple indent levels don't display correctly in Chrome and Firefox · Issue #47 · WP-API/WP-API.github.io
X Title: Code samples with multiple indent levels don't display correctly in Chrome and Firefox · Issue #47 · WP-API/WP-API.github.io
Description: I just noticed this on the Extending page. The code samples near the end of the page with the MyPlugin_API_MyType class are indented incorrectly. Playing around with the styles briefly, it looks like the letter-spacing: -1px rule for .co...
Open Graph Description: I just noticed this on the Extending page. The code samples near the end of the page with the MyPlugin_API_MyType class are indented incorrectly. Playing around with the styles briefly, it looks li...
X Description: I just noticed this on the Extending page. The code samples near the end of the page with the MyPlugin_API_MyType class are indented incorrectly. Playing around with the styles briefly, it looks li...
Opengraph URL: https://github.com/WP-API/WP-API.github.io/issues/47
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Code samples with multiple indent levels don't display correctly in Chrome and Firefox","articleBody":"I just noticed this on the [Extending](http://wp-api.org/guides/extending.html) page. The code samples near the end of the page with the `MyPlugin_API_MyType` class are indented incorrectly. Playing around with the styles briefly, it looks like the `letter-spacing: -1px` rule for `.content pre > code` is what's causing it. Interestingly enough, it seems to display fine in IE on Windows, and Safari on OS X.\n\n\n","author":{"url":"https://github.com/itsananderson","@type":"Person","name":"itsananderson"},"datePublished":"2015-05-09T04:42:37Z","url":"https://github.com/WP-API/WP-API.github.io/issues/47"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bd76d9d0-1094-c4e2-4458-3ca2c2b45d21 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E604:3139C0:BF953:1019DF:6B007FFA |
| html-safe-nonce | 24b3e9ab00a43ff66f1de46a7a7f085d4df5bfd68d54b17bae991f8a29c7b4da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjA0OjMxMzlDMDpCRjk1MzoxMDE5REY6NkIwMDdGRkEiLCJ2aXNpdG9yX2lkIjoiNzU3MDU1MjI5ODI1NDkyNTgxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e4b14dbd017d5a03a26183ea4ed9bcf4306a39b39cad1248bd0b518ec80fa74a |
| hovercard-subject-tag | issue:74585208 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/WP-API/WP-API.github.io/47/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f143b0c5312089130405324e984290ca2fbd028f3856b3c0328f76bc38ff7d2e/WP-API/WP-API.github.io/issues/47 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f143b0c5312089130405324e984290ca2fbd028f3856b3c0328f76bc38ff7d2e/WP-API/WP-API.github.io/issues/47 |
| og:image:alt | I just noticed this on the Extending page. The code samples near the end of the page with the MyPlugin_API_MyType class are indented incorrectly. Playing around with the styles briefly, it looks li... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | itsananderson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83 |
| turbo-cache-control | no-preview |
| go-import | github.com/WP-API/WP-API.github.io git https://github.com/WP-API/WP-API.github.io.git |
| octolytics-dimension-user_id | 5706008 |
| octolytics-dimension-user_login | WP-API |
| octolytics-dimension-repository_id | 20222848 |
| octolytics-dimension-repository_nwo | WP-API/WP-API.github.io |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20222848 |
| octolytics-dimension-repository_network_root_nwo | WP-API/WP-API.github.io |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d1bc2aa1939001689f5ce935982c10a6138f745c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width