Cách mở file MD

Thời gian gần đây, ta thường hay gặp các file *.md [chẳng hạn như GitHub, ta thường thấy file README.md]. Vậy file *.md là gì? .MD là viết tắt của từ Markdown.

Bạn đang xem: File .md là gì

Markdown Là Gì?

Markdown là một ngôn ngữ đánh dấu với cú pháp văn bản thô, được thiết kế để có thể dễ dàng chuyển thành HTML và nhiều định dạng khác sử dụng một công cụ cùng tên. Nó thường được dùng để tạo các tập tin readme, viết tin nhắn trên các diễn đàn, và tạo văn bản có định dạng bằng một trình biên tập văn bản thô.Năm 2004, cùng với sự giúp đỡ của Aaron Swartz, John Gruber đã tạo ra ngôn ngữ Markdown với mục tiêu tạo ra một định dạng văn bản thô dễ viết, dễ đọc, dễ dàng chuyển thành HTML hoặc XHTML.

Tính Năng

Markdown dùng các dấu hiệu từ các quy ước cho văn bản thô trong email, như setext – một ngôn ngữ được thiết kế để có thể đọc bình thường mà không phải lục lọi giữa các thẻ định dạng, khác với văn bản trong ngôn ngữ đánh dấu như RTF hay HTML, vốn chứa nhiều thẻ và cú pháp khó đọc.Gruber đã viết một công cụ nhỏ bằng Perl, Markdown.pl, cho phép chuyển đổi đoạn văn bản đã đánh dấu theo chuẩn Markdown sang XHTML hoặc HTML. Tiện ích này có thể dùng một mình, hoặc dùng như là plugin cho Bloxom hoặc Movable Type, hoặc là một bộ lọc cho BBEdit.Markdown sau đó đã được hoàn thiện thành một module Perl và công bố trên CPAN [Text::Markdown] cũng như trên một vài ngôn ngữ khác. Nó được phân phối theo giấy phép BSD và được nhúng sẵn, hoặc là plugin của một hệ thống quản lý nội dung. Một số trang web như GitHub, reddit, Diaspora, Stack Exchange, OpenStreetMap, SourceForge cũng sử dụng các biến thể của Markdown trong hệ thống của mình.

Xem thêm: Sữa Rửa Mặt Purite - Gel RửA MặT Hoa HồNg & Ôliu Purité

Các Cú Pháp Cơ Bản

Markdown được thiết kế với ý định rõ ràng để có thể đọc dễ dàng. Bạn có thể thấy rằng hầu hết các cú pháp khác đơn giản và trực quan.

Tạo Tiêu Đề

# Tiêu đề 1 [h1]## Tiêu đề 2 [h2]### Tiêu đề 3 [h3]Để tạo tiêu đề trong Markdown bạn chỉ cần chèn ký tự # ngay phía trước. Số lượng ký tự # sẽ xác định độ sâu của tiêu đề [tương đương h1-h6 trong mã HTML].

Định Dạng Chữ

**In đậm** hoặc __In đậm__ []*In nghiêng* hoặc _In nghiêng_ []~~Chữ gạch ngang~~ [ or or ]Phân đoạn một đoạn văn bản bằng cách chèn một dòng trắng ở giữa các đoạn văn bản.Xuống dòng bằng cách thêm 2 khoảng trắng ngay phía sau dòng văn bản.

Tạo Danh Sách

Tạo danh sách dạng số:

1. danh sách 12. danh sách 23. danh sách 3Tạo danh sách dạng bullet:

- danh sách 1- danh sách 2- danh sách 3

Tạo Liên Kết

![đường dẫn] []![đường dẫn "chú thích"] []Chỉ cần gõ đường link tuyệt đối [có HTTP hoặc HTTPS] Markdown sẽ tạo liên kết tự động

//example.com

Tạo Hình Ảnh

![đường dẫn] [


MD file open in Microsoft Notepad

MD files are not only useful for HTML documentation systems, but also for source code version control. This is because the files can be compared against historical revisions in human-readable text [whereas revisions to binary files cannot be compared easily]. Projects created with GitHub, a popular online version control system, often use a file named README.md, which contains the readme for the project.

John Gruber, the developer of Markdown, has created a Perl program for converting Markdown to HTML. The program, called "Markdown," is available at the Daring Fireball website.

NOTE:

Markdown files also used the .MARKDOWN extension.

You can open and edit an MD file in any text editor, including:

Google Chrome Text [Chrome OS]

However, if you intend to edit an MD file, you may want to open it in a Markdown editor. Markdown editors provide editing and review tools that will help you apply Markdown syntax correctly. Some Markdown editors include:

ghostwriter [Windows, Linux]MacDown [Mac]Caret [cross-platform]StackEdit [Web]

Game ROM used by emulation software for the SEGA Mega Drive, an older game console [called the SEGA Genesis in North America]; stores the contents of a game cartridge; used for running older games on the PC.

NOTE:

SBWin can be used to convert MD files to the .BIN SEGA game ROM format, which can be played by many different SEGA Master Drive/Genesis emulators.

Xem thêm: Tờ Rơi Tiếng Anh Là Gì - Sự Giống Và Khác Nhau Của Flyer Và

Data file saved by Moneydance, a personal finance software program similar to Intuit Quicken or Microsoft Money; stores bank accounts, transactions, budgets, stock portfolios, and other information.

File created by Sharkport, a hardware accessory for the PlayStation 2; contains a PS2 saved game created by the Sharkport device; used for copying saved games to the PC and sharing them with other players; can be converted to other saved game formats, such as .PSU, using the PS2 Save Builder.

An MD file is a MuseData musical score. It contains plain text code that represents a piece of music, as well as metadata describing that work. While MD files are no longer widely used, you can still open them and use them to create sheet music in MuseScore.



MD file open in MuseScore

In 1983, developer Walter B. Hewlett created the MuseData music notation file format. According to Hewlett, the purpose of MuseData [MD] files was "to represent the logical content of musical scores in a software-neutral fashion." To do this, Hewlett developed a format that used plain text notation to represent the measures, notes, rests, and emphases included in a piece of music. MD files also include a plain text header that contains general information about the file, such as when the file was created, what musical score, movement, or part it represents, and what instruments should be used to play the piece.

As digital music notation developed further, MD files largely became obsolete. However, many MD files are still available online, and you can still open MD files and use them to create sheet music in MuseScore, a free music composition and notation program.

If you need only to see the plain text notation that an MD file contains, you can open it in any text editor, such as Microsoft Notepad, Apple TextEdit, or Github Atom.

Video liên quan

Chủ Đề