Skip to content

Standardize fenced code block formatting and add missing language tags - #985

Open
hritikkumar07 wants to merge 1 commit into
google:gh-pagesfrom
hritikkumar07:gh-pages
Open

Standardize fenced code block formatting and add missing language tags#985
hritikkumar07 wants to merge 1 commit into
google:gh-pagesfrom
hritikkumar07:gh-pages

Conversation

@hritikkumar07

Copy link
Copy Markdown

This PR resolves issue #976 by standardizing Markdown fenced code block formatting, correcting nesting syntax, and adding missing language identifiers to improve documentation readability and syntax highlighting consistency.

Changes Made

  1. R Guide (Rguide.md):

    • Added the missing r language identifiers to 5 fenced code blocks to enable correct syntax highlighting for R code examples.
  2. Style Guide (docguide/style.md):

    • Corrected nested fenced code block formatting in the "Nest codeblocks within lists" section. Used 4 backticks for the outer Markdown code block so that the nested 3-backtick C++ code block doesn't prematurely terminate it and break the parser.
  3. Objective-C Guide (objcguide.md):

    • Standardized 4 code blocks that were using the objc tag to use objectivec instead, ensuring consistency with the other 98 Objective-C code blocks in the document.

Verification

  • Audited all Markdown files in the repository using a custom Node.js Markdown parser to verify that all code blocks are cleanly formatted and contain standard, supported language identifiers.

@google-cla

google-cla Bot commented Aug 17, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant