Skip to content

Conversation

@huypub
Copy link
Contributor

@huypub huypub commented May 12, 2022

No description provided.

sdwheeler and others added 4 commits May 11, 2022 23:54
* (GH-8799) Backtick escaped char pairs in parentheses

This commit uses the regex "\((\\.\\.)\)" to find and replace
instances of pairs of backslash-escaped characters in the
reference docs with their backticked equivalent so they render
correctly instead of as normal text.

* (GH-8799) Render single backtick in () as code

This commit uses the regex '([^`])\(`\)' and replace '$1`` ` ``' to find
and replace instances of a single backtick wrapped in parentheses with
the markdown to ensure they render correctly as code without greedily
replacing text it shouldn't.

For example:

    "Foo bar (`) baz"   => "Foo bar (`` ` ``) baz"

    "Foo bar (`(`) baz" => "Foo bar (`(`) baz

* (MAINT) Clean up markdown for Adding Aliases cmdlet dev doc

* (GH-8799) Render escaped chars in () as code

This commit uses the regex '\(\\(.)\)' and replace '(`$1`)' to find and
replace instances of an escaped single character wrapped in parentheses
with the markdown to ensure they render correctly as code.

It also updates a few escaped backticks (`` ` ``) which the previous
regex did not find because they were escaped.

* (MAINT) Clean up Move-Item formatting & standardize

* (MAINT) Clean up ConvertFrom-StringData formatting

* (MAINT) Clean up Clear-Content formatting

* (MAINT) Clean up New-JobTrigger formatting

* (MAINT) Clean up Get-ItemProperty formatting

* (MAINT) Clean up formatting for creating an item provider

* (MAINT) Clean up formatting for about_Certificate_Provider

* Apply suggestions from code review

Co-authored-by: Sean Wheeler <sean.wheeler@microsoft.com>

Co-authored-by: Sean Wheeler <sean.wheeler@microsoft.com>
@opbld31
Copy link

opbld31 commented May 12, 2022

Docs Build status updates of commit 36880b2:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/CimCmdlets/Remove-CimInstance.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Core/About/about_Debuggers.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Core/About/about_Properties.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Core/About/about_WQL.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Management/Clear-Content.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Management/Get-ItemProperty.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Management/Move-Item.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Management/Start-Service.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Security/About/about_Certificate_Provider.md ✅Succeeded View (powershell-5.1)
reference/5.1/Microsoft.PowerShell.Utility/ConvertFrom-StringData.md ✅Succeeded View (powershell-5.1)
reference/5.1/PSScheduledJob/New-JobTrigger.md ✅Succeeded View (powershell-5.1)
reference/7.0/Microsoft.PowerShell.Core/About/about_Debuggers.md ✅Succeeded View (powershell-7)
reference/7.0/Microsoft.PowerShell.Core/About/about_Properties.md ✅Succeeded View (powershell-7)
reference/7.0/Microsoft.PowerShell.Management/Clear-Content.md ✅Succeeded View (powershell-7)
reference/7.0/Microsoft.PowerShell.Management/Get-ItemProperty.md ✅Succeeded View (powershell-7)
reference/7.0/Microsoft.PowerShell.Management/Move-Item.md ✅Succeeded View (powershell-7)
reference/7.0/Microsoft.PowerShell.Management/Set-Content.md ✅Succeeded View (powershell-7)
reference/7.0/Microsoft.PowerShell.Management/Start-Service.md ✅Succeeded View (powershell-7)
reference/7.0/Microsoft.PowerShell.Security/About/about_Certificate_Provider.md ✅Succeeded View (powershell-7)
reference/7.0/Microsoft.PowerShell.Utility/ConvertFrom-StringData.md ✅Succeeded View (powershell-7)
reference/7.1/Microsoft.PowerShell.Core/About/about_Debuggers.md ✅Succeeded View (powershell-7.1)
reference/7.1/Microsoft.PowerShell.Core/About/about_Properties.md ✅Succeeded View (powershell-7.1)
reference/7.1/Microsoft.PowerShell.Management/Clear-Content.md ✅Succeeded View (powershell-7.1)
reference/7.1/Microsoft.PowerShell.Management/Get-ItemProperty.md ✅Succeeded View (powershell-7.1)
reference/7.1/Microsoft.PowerShell.Management/Move-Item.md ✅Succeeded View (powershell-7.1)

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@huypub huypub merged commit c9487a4 into live May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants