哪个文件使用.md扩展名,我应该如何编辑它们? [英] What file uses .md extension and how should I edit them?

查看:104
本文介绍了哪个文件使用.md扩展名,我应该如何编辑它们?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在GitHub上,几个项目都有README.md文件.似乎是表达文本和图片的简单格式文件.

On GitHub, several projects have README.md files. It seems like a simple format file to express text and pictures.

我猜那里有一个编辑器或语法解释.

I guess there is an editor or syntax explanation somewhere.

在哪里可以找到.md文件的简介?

Where can I find an introduction to .md files?

推荐答案

Markdown是纯文本文件格式.扩展名.md.markdown只是用 Markdown 语法编写的文本文件.如果您的存储库中有Readme.md,则GitHub将在存储库的主页上显示内容.阅读文档:

Markdown is a plain-text file format. The extensions .md and .markdown are just text files written in Markdown syntax. If you have a Readme.md in your repo, GitHub will show the contents on the home page of your repo. Read the documentation:

  • Standard Markdown
  • GitHub Flavored Markdown

您可以在GitHub本身中编辑Readme.md文件.单击Readme.md,您将找到一个编辑按钮.您可以预览更改,甚至可以从那里提交.

You can edit the Readme.md file in GitHub itself. Click on Readme.md, you will find an edit button. You can preview your changes and even commit them from there.

由于它是文本文件,因此可以使用Notepad或Notepad ++(Windows),TextEdit(Mac)或任何其他文本编辑器进行编辑和修改.存在专门的编辑器,它们会在您键入降价标记时自动解析降价并生成预览,而其他编辑器会将各种语法颜色和修饰应用于显示的文本.但是在两种情况下,保存的文件仍然是可读的文本文件.

Since it is a text file, Notepad or Notepad++ (Windows), TextEdit (Mac) or any other text editor can be used to edit and modify it. Specialized editors exist that automatically parse the markdown as you type it and generate a preview, while others apply various syntax coloring and decorations to the displayed text. In both cases though, the saved file is still a readable text file.

如果要创建带有预览的md文件,并且不想安装任何特殊的编辑器,则可以使用 dillinger.io stackedit.io .他们提供实时预览.您还可以将文件导出到 Google云端硬盘 Dropbox .

If you want to create an md file with preview and if you prefer not to install any special editors, you can use online editors like dillinger.io and stackedit.io. They provide live preview. You can also export your files to Google Drive or Dropbox.

这篇关于哪个文件使用.md扩展名,我应该如何编辑它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆