Title: Doc Bug in source -
Open Graph Title: Doc Bug in source -
X Title: Doc Bug in source -
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/16104
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Doc Bug in source - \u003csnippet> tag is not supported by the docs platform","articleBody":"### Prerequisites\n\n- [X] Write a descriptive title.\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\n- [X] Search the existing issues.\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\n\n### Steps to reproduce\n\nDocumentation for the PowerShell SDK is generated from triple-slash comments in the source code. Therefore any changes to that documentation must be made in the source code.\r\n\r\nThe following files use the `\u003csnippet>` tag in the comments. This tag is not supported and is causing rendering issues.\r\n\r\n```\r\nC:\\Git\\PS-Src\\PowerShell\\src\\System.Management.Automation\\engine\\cmdlet.cs\r\n 804,17: /// \u003csnippet Code=\"C#\">\r\n 900,17: /// \u003csnippet Code=\"C#\">\r\n 1004,17: /// \u003csnippet Code=\"C#\">\r\n 1120,17: /// \u003csnippet Code=\"C#\">\r\n 1236,17: /// \u003csnippet Code=\"C#\">\r\n 1365,17: /// \u003csnippet Code=\"C#\">\r\n 1505,17: /// \u003csnippet Code=\"C#\">\r\n\r\nC:\\Git\\PS-Src\\PowerShell\\src\\System.Management.Automation\\engine\\MshCommandRuntime.cs\r\n 1066,17: /// \u003csnippet Code=\"C#\">\r\n 1160,17: /// \u003csnippet Code=\"C#\">\r\n 1263,17: /// \u003csnippet Code=\"C#\">\r\n 1378,17: /// \u003csnippet Code=\"C#\">\r\n 1684,17: /// \u003csnippet Code=\"C#\">\r\n 1866,17: /// \u003csnippet Code=\"C#\">\r\n\r\nC:\\Git\\PS-Src\\PowerShell\\src\\System.Management.Automation\\engine\\hostifaces\\MshHostRawUserInterface.cs\r\n 1461,17: /// \u003csnippet Code=\"C#\">\r\n```\r\n\r\nSee the Examples section of https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.cmdlet.shouldprocess?view=powershellsdk-7.0.0#System_Management_Automation_Cmdlet_ShouldProcess_System_String_ to see the rendering issue.\r\n\r\nYou must use the `\u003ccode>` tag instead.\n\n### Expected behavior\n\n```console\nn/a\n```\n\n\n### Actual behavior\n\n```console\nn/a\n```\n\n\n### Error details\n\n_No response_\n\n### Environment data\n\n```powershell\nn/a\n```\n\n\n### Visuals\n\nHere is a screenshot of the rendering issue.\r\n\r\n\r\n","author":{"url":"https://github.com/sdwheeler","@type":"Person","name":"sdwheeler"},"datePublished":"2021-09-15T19:19:47Z","url":"https://github.com/PowerShell/PowerShell/issues/16104"}
| 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:b2058f98-eac6-11e4-b44b-37890cb3baae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A1DE:393662:A70B7:F35BA:6AFDC75D |
| html-safe-nonce | a01d9666515f8d83f072a207dad221f55fa8af96fcb79e7375faa520e7773cb2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMURFOjM5MzY2MjpBNzBCNzpGMzVCQTo2QUZEQzc1RCIsInZpc2l0b3JfaWQiOiIxOTc3NzI4NjE1MDYzNjAzMDM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1c56e550f4e3de9a5c38b5b51b6aa75faabe2e3decd7831f0a62b0e29dc856c1 |
| hovercard-subject-tag | issue:997427570 |
| 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/PowerShell/PowerShell/16104/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cdd7538b22c721882438af792226f703b19a8360dab08879070540f030088015/PowerShell/PowerShell/issues/16104 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cdd7538b22c721882438af792226f703b19a8360dab08879070540f030088015/PowerShell/PowerShell/issues/16104 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sdwheeler |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9ab00cc3b4fa90bbd3da70765dd38efc23cfa9d9b0930e41feea2bf67f60ecaf |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 1b795ba060b92691fc16c5a12cf2bf95e83432b4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width