Skip to content

Comments

docs: add Chinese-specific examples to README.cn.md#3996

Open
ehongon wants to merge 1 commit intoTextualize:masterfrom
ehongon:add-chinese-examples
Open

docs: add Chinese-specific examples to README.cn.md#3996
ehongon wants to merge 1 commit intoTextualize:masterfrom
ehongon:add-chinese-examples

Conversation

@ehongon
Copy link

@ehongon ehongon commented Feb 18, 2026

Description

This PR adds a new section "中文使用示例" (Chinese Usage Examples) to the Chinese README (README.cn.md). These examples are specifically tailored for Chinese developers to better understand how to use Rich with Chinese content.

Changes

Added the following examples:

  1. 中文表格示例 - Demonstrates rendering tables with Chinese characters
  2. 中文进度条示例 - Shows progress bars with Chinese descriptions
  3. 中文 Markdown 渲染 - Example of rendering Chinese Markdown content
  4. 中文文本样式 - Various text styling examples in Chinese
  5. 中文树形结构 - Tree structure visualization with Chinese labels

Why This Change?

  • The existing Chinese README is a direct translation but lacks examples specific to Chinese use cases
  • Chinese developers often need to handle Chinese characters in their CLI applications
  • These examples help bridge the gap between the English documentation and Chinese user needs

Checklist

  • Added practical Chinese-specific examples
  • Code examples are tested and working
  • Documentation follows the existing style
  • No breaking changes

- Add Chinese text rendering examples
- Add Chinese table formatting examples
- Add Chinese progress bar examples
- Add Chinese Markdown rendering examples
- Add Chinese tree structure examples

These examples help Chinese developers better understand
how to use Rich with Chinese content.
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