Эх сурвалжийг харах

add start history to readme

赵小蒙 1 жил өмнө
parent
commit
62871e31e8
2 өөрчлөгдсөн 15 нэмэгдсэн , 3 устгасан
  1. 7 1
      README.md
  2. 8 2
      README_zh-CN.md

+ 7 - 1
README.md

@@ -184,4 +184,10 @@ https://github.com/opendatalab/MinerU/assets/11393164/20438a02-ce6c-4af8-9dde-d7
 
 ## Star History
 
-![Star History](https://api.star-history.com/svg?repos=opendatalab/MinerU&type=Date)
+<a>
+ <picture>
+   <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=opendatalab/MinerU&type=Date&theme=dark" />
+   <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=opendatalab/MinerU&type=Date" />
+   <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=opendatalab/MinerU&type=Date" />
+ </picture>
+</a>

+ 8 - 2
README_zh-CN.md

@@ -178,7 +178,13 @@ https://github.com/opendatalab/MinerU/assets/11393164/20438a02-ce6c-4af8-9dde-d7
 - [Magic-Doc](https://github.com/InternLM/magic-doc)
   优秀的网页与电子书提取工具
 
-
+  
 ## Star History
 
-![Star History](https://api.star-history.com/svg?repos=opendatalab/MinerU&type=Date)
+<a>
+ <picture>
+   <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=opendatalab/MinerU&type=Date&theme=dark" />
+   <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=opendatalab/MinerU&type=Date" />
+   <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=opendatalab/MinerU&type=Date" />
+ </picture>
+</a>