What file uses .md extension and how should I edit them?
Master System Design with Codemia
Enhance your system design skills with over 120 practice problems, detailed solutions, and hands-on exercises.
Files with the .md extension are saved in Markdown format, a lightweight markup language designed to be converted to HTML using a simple plain text editor. Markdown was created by John Gruber and Aaron Swartz to help people write for the web easily without the complexity of HTML. It is primarily used to format readme files, for writing messages in online forums, and to create rich text using a plain text editor.
Key Features of Markdown
Markdown allows you to add formatting elements using plain text, including headers, lists, emphasis, links, blockquotes, and more. For example, to create a header, you use the hash symbol # followed by a space and the title text. The number of hash symbols indicates the level of the header:
Italics are created by wrapping text with either an asterisk * or underscore _. Bold text uses double asterisks or underscores:
How to Edit Markdown Files
To edit .md files, you can use any plain text editor but specialized Markdown editors provide live previews and other helpful features. Some popular Markdown editors include:
- Typora: Offers a seamless live preview.
- Mark Text: A simple and elegant open-source Markdown editor.
- Visual Studio Code: A powerful editor that supports Markdown through extensions.
Markdown files can be edited just like any text files, but with special characters that enable formatting. It's also possible to include images, tables, and even HTML elements in a Markdown file.
Tables in Markdown
Tables in Markdown are created using pipes | and hyphens -, and they can include headers typically defined in the first row. Here is an example:

