Title: aio: api page code snippets should be wrapped in
Open Graph Title: aio: api page code snippets should be wrapped in
X Title: aio: api page code snippets should be wrapped in
Description: The API template does not render code blocks with the doc viewer's
Open Graph Description: The API template does not render code blocks with the doc viewer's
X Description: The API template does not render code blocks with the doc viewer's <aio-code> tags as happens when guide authors write <code-example> and <code-tabs>. Therefore, API code snip...
Opengraph URL: https://github.com/angular/angular/issues/16246
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"aio: api page code snippets should be wrapped in \u003caio-code>","articleBody":"The API template does not render code blocks with the doc viewer's `\u003caio-code>` tags as happens when guide authors write `\u003ccode-example>` and `\u003ccode-tabs>`.\r\n\r\nTherefore, API code snippets are not pretty-printed and rendered as they are in the guide pages. The likely solution is for dgeni to transform those snippets appropriately.\r\n\r\nTangentially, what would dgeni do if an author used backtick markdown inside a guide page rather than the prescribed `\u003ccode-example>` (or `\u003caio-code>`) technique?\r\n\r\n**I'm submitting a ...** (check one with \"x\")\r\n```\r\n[ ] bug report => search github for a similar issue or PR before submitting\r\n[x] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\nUnable to style api page code snippets\r\n\r\n**Expected behavior**\r\nTo use `\u003caio-code>` component for consistency across the site","author":{"url":"https://github.com/sjtrimble","@type":"Person","name":"sjtrimble"},"datePublished":"2017-04-21T17:52:58Z","url":"https://github.com/angular/angular/issues/16246"}
| 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:557ccaf1-f41b-423d-5d60-8e748a31cf84 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D322:FC5BE:8A9E82:B9FB12:6B00E3D9 |
| html-safe-nonce | 6a1324b0cbd8f31d584780f168e01d9ac90f7a2dff26d8d4cb2d4939debf87c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzIyOkZDNUJFOjhBOUU4MjpCOUZCMTI6NkIwMEUzRDkiLCJ2aXNpdG9yX2lkIjoiNTI4OTc2MzU1ODgzMjc5MzIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2a048bd6208bd93315c50aa6d5930d2828f66b3480810c1ccd0aeefdb7148f90 |
| hovercard-subject-tag | issue:223452948 |
| 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/angular/angular/16246/issue_layout |
| twitter:image | https://opengraph.githubassets.com/446e94471c6b3e2ff31e0a8246b27af29c235d77178a64f86214b7bfa88c1a6e/angular/angular/issues/16246 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/446e94471c6b3e2ff31e0a8246b27af29c235d77178a64f86214b7bfa88c1a6e/angular/angular/issues/16246 |
| og:image:alt | The API template does not render code blocks with the doc viewer's |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sjtrimble |
| hostname | github.com |
| expected-hostname | github.com |
| None | 27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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 | 624179fb8b88d26ba5bba08894eb60a1c5a1d93d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width