GitHub项目中README和README.md有什么区别?

Enr*_*ent 376 markdown github

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

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

Mik*_*ton 372

.md是markdown. README.md用于生成html您在项目底部看到的摘要.Github有自己的Markdown风格.

优先顺序:如果你有一个名为两个文件README,并README.md命名该文件README.md是首选,它将被用来生成GitHub的html总结.


FWIW,Stack Overflow也使用本地Markdown修改(另见Stack Overflow的C#Markdown处理器)

  • 更新了github markdown https://help.github.com/articles/github-flavored-markdown/ (5认同)

Fox*_*nni 230

.md 代表markdown,并在github页面的底部生成为html.

典型语法包括:

Will become a heading
==============

Will become a sub heading
--------------

*This will be Italic*

**This will be Bold**

- This will be a list item
- This will be a list item

    Add a indent and this will end up as code
Run Code Online (Sandbox Code Playgroud)

有关详细信息,请访问: http ://daringfireball.net/projects/markdown/


Pau*_*aul 36

.md 扩展名代表Markdown,Github使用它来格式化这些文件.

了解Markdown:

http://daringfireball.net/projects/markdown/

http://en.wikipedia.org/wiki/Markdown

也:

http://github.github.com/github-flavored-markdown/

  • +1链接到Github的页面:http://github.github.com/github-flavored-markdown/特别是```代码块 (4认同)

c00*_*ter 21

README.md或者.mkdn.markdown表示该文件是降价格式化.Markdown是一种标记语言.有了它,您可以轻松地显示标题或使用斜体字,或粗体或几乎任何可以对文本进行的操作