10.1. Markdown tutorial

发布时间 :2025-10-25 12:23:40 UTC      

image0

Markdown is a lightweight markup language that allows people to write documents in a plain text format that is easy to read and write.

The Markdown language was founded by John Gruber (English: John Gruber) in 2004.

Documents written by Markdown can be exported to HTML, Word, images, PDF, Epub and other formats.

Markdown writes documents with the suffix .md, .markdown.

10.1.1. Markdown application

Markdown can be used to write e-books, such as Gitbook.

At present, many websites widely use Markdown to write help documents or to post messages on forums. For example: GitHub, brief book, reddit, Diaspora, Stack Exchange, OpenStreetMap, SourceForge and so on.

10.1.2. Editor

This tutorial will use the VSCode editor to explain the syntax of Markdown. VSCode supports MacOS, Windows, Linux platforms, and includes a variety of topics.

VSCode default set into the Markdown document editing plug-in, native support for highlighting Markdown syntax.

VSCode (full name: Visual Studio Code) is a free source code editor developed by Microsoft and cross-platform.

image1

The real-time preview of VSCode also needs to be implemented by executing the Markdown: Open Preview to the Side command.

Enter the Markdown: Open Preview to the Side command in the command window:

image2

Final result:

image3

If you need to convert markdown to PDF, picture, HTML and other formats, you can also install the corresponding plug-ins to achieve.

You can also use our online editor to test: https://c.runoob.com/front-end/712 .

10.1.3. Test example

In the next test, we first install it under VSCode Markdown Preview Enhanced Plug-ins to achieve more powerful functions.

Click the expand button in the right column to find Markdown Preview Enhanced Plug-in, click install:

image4

安装完成后重启 VSCode。

Enter the following code in RUNOOB.md:

# RUNOOB Markdown Test
## Hello World!

Paste the code format into the file RUNOOB.md, and the effect is as follows:

image5

Right-clicking in the preview box also provides various export functions:

image6

10.1.4. Useful books

The Great Markdown:

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.