Skip to content

Improve README formatting with highlighted blocks - #1055

Merged
leethomason merged 2 commits into
leethomason:masterfrom
mikomikotaishi:master
May 23, 2026
Merged

Improve README formatting with highlighted blocks#1055
leethomason merged 2 commits into
leethomason:masterfrom
mikomikotaishi:master

Conversation

@mikomikotaishi

Copy link
Copy Markdown
Contributor

This PR is the first part of #1051. This improves some wording (such as replacing abbreviations with full names) and clarifications, and adds highlighted blocks and verbatim text for symbol names and file names.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the project’s readme.md to improve readability by switching to consistent Markdown headings, adding fenced code blocks for examples, and clarifying terminology (e.g., expanding abbreviations and formatting symbol/file names as inline code).

Changes:

  • Convert legacy Setext-style headings to ATX (#/##/###) headings.
  • Add fenced code blocks (XML/C++/shell) and inline-code formatting for symbols, macros, and filenames.
  • Update wording to expand abbreviations (e.g., RTTI/STL) and clarify a few descriptions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread readme.md Outdated
Comment thread readme.md Outdated
and uses far fewer memory allocations.

TinyXML-2 has no requirement or support for STL.
TinyXML-2 has no dependency on the C++ Standard Library, and does not adapt any

Copilot AI Mar 10, 2026

Copy link

Choose a reason for hiding this comment

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

The sentence says TinyXML-2 "does not adapt" C++ Standard Library collection types; this reads like a word-choice typo (it likely means it does not adopt/use them). Consider changing "adapt" to "adopt" to match the intended meaning.

Suggested change
TinyXML-2 has no dependency on the C++ Standard Library, and does not adapt any
TinyXML-2 has no dependency on the C++ Standard Library, and does not adopt any

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't agree with the suggestion here, as I think "adapt" is reasonable wording. I will, however, add "or use" to make it clear that we are referring to usage of C++ Standard Library collection classes.

@mikomikotaishi

Copy link
Copy Markdown
Contributor Author

I've applied the suggestion about capitalising "GitHub", but did not change "adapt" to "adopt". I did however change it to "adapt or use", to make it clearer the relation it has with the C++ standard library collections (namely that it does not use them at all).

@leethomason
leethomason merged commit beb16fb into leethomason:master May 23, 2026
deepin-ci-robot added a commit to deepin-community/tinyxml2 that referenced this pull request May 27, 2026
- Use uint32_t instead of unsigned long for UCS values
- Add MAX_CODE_POINT check (0x10FFFF) to prevent overflow
- Remove unnecessary TIXMLASSERT checks that don't prevent overflow

Upstream: leethomason/tinyxml2#1055
Generated-By: uos/glm-5.1
Co-Authored-By: hudeng <hudeng@deepin.org>
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.

3 participants