Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 1.9 KB

Tutorial.md

File metadata and controls

56 lines (46 loc) · 1.9 KB

Markdown Tutorial

What is Markdown?

Developed in 2004 by John Gruber, Markdown refers to both (1) a way of formatting text files, as well as (2) a Perl utility to convert Markdown files into HTML. In this lesson, we’ll focus on the first part and learn to write files using the Markdown syntax.

Plain text files have many advantages over other formats. For one, they are readable on virtually all devices. They have also withstood the test of time better than other file types – if you’ve ever tried to open a document saved in a legacy word processor format, you’ll be familiar with the compatibility challenges involved.

Lesson goals

In this lesson, you will be introduced to Markdown, a plain text-based syntax for formatting documents. You will find out why it is used, how to format Markdown files, and how to preview Markdown-formatted documents on the web.

Markdown Syntax

Markdown files are saved with the extension .md, and can be opened in a text editor such as TextEdit, Notepad, Sublime Text, or Vim. Many websites and publishing platforms also offer web-based editors and/or extensions for entering text using Markdown syntax.

Headings

Four levels of headings are available in Markdown, and are indicated by the number of "#" preceding the heading text. The above heading is the 4th level of heading.

Shopping List

  • Fruits
    • Apples
    • Oranges
    • Grapes
  • Dairy
    • Milk
    • Cheese

To-do list

  1. Finish Markdown tutorial
  2. Go to grocery store
  3. Prepare lunch
<html>
    <head>
        <title>Documentation Tutorial</title>
    </head>
    <body>
    </body>
</html>

This is a Markdown Tutorial

Left Center Right
Apples Red 5000
Bananas Yellow 75


Relative Links

Welcome message in folder



Images

Image of our planet