Sign Up Login Videos

Markdown cheat sheet

4

Markdown cheat sheet

Markdown is a really cool markup language that makes it easy to format text. It's the language that howCode uses to add markup to questions on the site. Markdown's also really easy to learn!

Starting with headings, Markdown supports all HTML heading tags. (h1 to h6)

# This is a h1
## This is a h2
### This is a h3

This is a h1

This is a h2

This is a h3

Markdown also supports both ordered and unordered lists.

1. This is an ordered list
2. This is a second item in the list

* This is an item in an unordered list
* Second item in unordered list
First list
  1. This is an ordered list
  2. This is a second item in the list
Second list
  • This is an item in an unordered list
  • Second item in unordered list
  • More to the list

We can also add links. We put the link title in square brackets and the link location in some round brackets beside it.

[My Link](https://www.google.com)

My Link

We can also add code to our questions and replies using Markdown.

# Some example code
print("Hello World")

Use 3 back-ticks (```) above and below your code and howCode will add syntax highlighting for you.

Extra resources:

https://www.youtube.com/watch?v=-MVGwZUCrhk (howCode's video tutorial)
https://daringfireball.net/projects/markdown

  • howcode.org
  • Markdown

4 Replies

Thanks (^o^)

0

Thanks (^o^)

Nice but there are some minor bugs, I've mailed you.

0

Nice but there are some minor bugs, I've mailed you.

h1

h2

0

h1

h2

Reasons to use:

  1. Makes sense.
  2. Fun.

Other Reasons

string c = "why not?";
cout << c;
0

Reasons to use:

  1. Makes sense.
  2. Fun.

Other Reasons

string c = "why not?";
cout << c;
x