DEV Community

CodeWithCaen
CodeWithCaen

Posted on • Originally published at hydephp.com

What is Markdown?

Introduction

Markdown is simply put what is called a markup language, and is used for creating formatted text using a plain-text editor like TextEdit or Notepad.

One of its appealing features is that it's easy for humans to read and write and that it's powerful enough for computers to turn ("parse") the Markdown text into other formats like HTML (which browsers can display).

Where is it used?

Markdown is widely used in blogging, instant messaging, online forums, collaborative software, documentation pages, and software readme files. It's so popular that you may have written Markdown without realizing it. For example, the popular chat app Discord uses Markdown to format chat messages.

Even more, this very blog post is written in Markdown. You can see the source code for this post here on GitHub.

How do I use it?

You can write Markdown in any text editor, even in the notes app on your phone! You can also use apps like Stackedit which give you a simple and familiar visual writing experience you may be used to from Microsoft Word and Google Docs.

Where can I learn it?

To learn more about Markdown, I recommend The Markdown Guide, at www.markdownguide.org. They also have a blog post which is much better than mine, www.markdownguide.org/getting-started.

What does it look like?

Here are some examples of the syntax, and what they look like in a browser:

Inline text styles _italic_, **bold**, `monospace`.
Enter fullscreen mode Exit fullscreen mode

Inline text styles italic, bold, monospace.

Bullet lists nested within a numbered list:

  1. fruits
     * apple
     * banana
  2. vegetables
     - carrot
     - broccoli
Enter fullscreen mode Exit fullscreen mode

Bullet lists nested within a numbered list:

  1. fruits
    • apple
    • banana
  2. vegetables
    • carrot
    • broccoli
A [link](https://hydephp.com).
![Image](Icon-pictures.png "icon")
Enter fullscreen mode Exit fullscreen mode

A link.
Image

Conclusion

Markdown is a very powerful format for writing text. It's easy to use, and it's easy to read. It's also easy to write. I hope you learned something from this post.

This blog post is written for HydePHP.com and is based on this Wikipedia article which falls under the CC BY-SA 3.0 license, same as this post.

Top comments (0)