Skip to content

Elide extraneous leading empty lines in code snippets #5216

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

Conversation

Rageking8
Copy link
Contributor

Remove extraneous leading empty lines in code snippets which are rendered, along with the usual metadata changes and some minor drive-by fixes.

Copy link
Contributor

@Rageking8 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit 6243a21:

✅ Validation status: passed

File Status Preview URL Details
docs/c-language/extern-storage-class-specifier.md ✅Succeeded
docs/c-runtime-library/reference/and.md ✅Succeeded
docs/c-runtime-library/reference/bitand.md ✅Succeeded
docs/c-runtime-library/reference/bitor.md ✅Succeeded
docs/c-runtime-library/reference/crtcheckmemory.md ✅Succeeded
docs/c-runtime-library/reference/crtdumpmemoryleaks.md ✅Succeeded
docs/c-runtime-library/reference/kbhit.md ✅Succeeded
docs/c-runtime-library/reference/mkdir-wmkdir.md ✅Succeeded
docs/c-runtime-library/reference/not.md ✅Succeeded
docs/c-runtime-library/reference/or-eq.md ✅Succeeded
docs/c-runtime-library/reference/rmtmp.md ✅Succeeded
docs/c-runtime-library/reference/rotl-rotl64-rotr-rotr64.md ✅Succeeded
docs/c-runtime-library/reference/rtc-numerrors.md ✅Succeeded
docs/code-quality/annotating-structs-and-classes.md ✅Succeeded
docs/cpp/codesnippet/CPP/how-to-create-and-use-shared-ptr-instances_1.cpp ✅Succeeded
docs/cpp/codesnippet/CPP/how-to-create-and-use-shared-ptr-instances_6.cpp ✅Succeeded
docs/cpp/codesnippet/CPP/how-to-create-and-use-unique-ptr-instances_3.cpp ✅Succeeded
docs/cpp/codesnippet/CPP/smart-pointers-modern-cpp_2.cpp ✅Succeeded
docs/linux/deploy-run-and-debug-your-linux-project.md ✅Succeeded
docs/mfc/codesnippet/CPP/accessing-the-embedded-month-calendar-control_2.cpp ✅Succeeded
docs/mfc/codesnippet/CPP/cbitmapbutton-class_3.cpp ✅Succeeded
docs/mfc/reference/codesnippet/CPP/cpagerctrl-class_5.cpp ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Contributor

PRMerger Results

Issue Description
Changed Files This PR contains more than 10 changed files.
Unapproved file extension(s) This PR contains file types that are not supported in the repo. The only supported file types are jpg, gif, png, json, svg and md.

@Court72
Copy link
Contributor

Court72 commented Mar 3, 2025

@TylerMSFT

Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged Tracking label for the PR review team label Mar 3, 2025
Copy link
Collaborator

@TylerMSFT TylerMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the cleanup. It's odd that those blank lines were even in there.

@TylerMSFT
Copy link
Collaborator

#sign-off

@v-dirichards v-dirichards merged commit f0b80f4 into MicrosoftDocs:main Mar 3, 2025
2 checks passed
@Rageking8 Rageking8 deleted the elide-extraneous-leading-empty-lines-in-code-snippets branch March 5, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants