本文介绍了GitHub项目中的README和README.md有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到一些GitHub项目不仅有一个 README 文件,而且还有一个 README.md 文件。

I've noticed some GitHub projects have not only a README file, but also a README.md file.

这些文件有什么区别?我知道 README 也可以用作项目存储库页面中的介绍性文本,但我不知道 README.md 是干什么的。

What is the difference between these files? I know README serves also as introductory text in the project repository page but I have no idea what README.md does.

推荐答案

.md 。 README.md 用于生成您在项目底部看到的 html 摘要。 Github的。

.md is markdown. README.md is used to generate the html summary you see at the bottom of projects. Github has their own flavor of Markdown.

优先顺序:如果您有两个名为 README README.md ,名为 README.md 的文件是首选,它将用于生成github的 html 总结。

Order of Preference: If you have two files named README and README.md, the file named README.md is preferred, and it will be used to generate github's html summary.

FWIW,堆栈溢出(另请参阅)

FWIW, Stack Overflow uses local Markdown modifications as well (also see Stack Overflow's C# Markdown Processor)

这篇关于GitHub项目中的README和README.md有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 02:54