Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(GH-10452) Improve here-string example #10455

Conversation

michaeltlombardi
Copy link
Contributor

@michaeltlombardi michaeltlombardi commented Sep 25, 2023

PR Summary

Prior to this change, the example for demonstrating how a here-string can simplify syntax defined a value that would've been valid even in a normal double-quoted string.

This change:

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributors guide.
  • Style: This PR adheres to the style guide.

Prior to this change, the example for demonstrating how a here-string
can simplify syntax defined a value that would've been valid even in
a normal double-quoted string.

This change:

- Updates the example to use both a single quote and a double quote,
  which would require escaping in a normal string, to make the usage
  and value clearer.
- Addresses error-level issues for the document's prose style.
- Resolves MicrosoftDocs#10452
- Fixes AB#163608
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 19a1ce6:

✅ Validation status: passed

File Status Preview URL Details
reference/5.1/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md ✅Succeeded View (powershell-5.1)
reference/7.2/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md ✅Succeeded View (powershell-7.2)
reference/7.3/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md ✅Succeeded View (powershell-7.3)
reference/7.4/Microsoft.PowerShell.Core/About/about_Quoting_Rules.md ✅Succeeded View (powershell-7.4)

For more details, please refer to the build report.

For any questions, please:

@sdwheeler sdwheeler merged commit 740df84 into MicrosoftDocs:main Sep 25, 2023
4 checks passed
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.

Example for here-string in About_Quoting_Rules could be better
2 participants