What file uses .md extension and how should I edit them?

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.

Where can I find an introduction to .md files?


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
  • 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.

    Since it is a text file, 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.

    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.


    If you are looking for an editor, I suggest you use http://dillinger.io/. It is a simple browser-based text editor that can render Markdown on the fly.

    However, if you prefer an app, and you are using OS X, you could try Mou. It is quite good and full of examples.


    Github's Atom text editor has a live-preview mode for markdown files. The keyboard shortcut is CTRL+SHIFT+M .

    It can be activated from the editor using the CTRL+SHIFT+M key-binding and is currently enabled for .markdown , .md , .mkd , .mkdown , and .ron files.

    在这里输入图像描述

    链接地址: http://www.djcxy.com/p/3414.html

    上一篇: Markdown文件中的GitHub相对链接

    下一篇: 什么文件使用.md扩展名,我应如何编辑它们?