Mardown syntax

Markdown is a syntax you use to structure your text as you type. It's very simple syntax makes it very easy to understand and let you be able to change the structure without touching your mouse.

All the examples here can be seen live by trying out the editor.

Block elements

Those elements needs to be declared at the beginning of a new line.

Headers

# An important header ## A less important header ###### It can go up to 6(h6)

An important header

A less important header

It can go up to 6(h6)

Ordered List

1. First item; 2. Second item; 3. Third item.
  1. First item;
  2. Second item;
  3. Third item.

Unordered List

- An item; - Another item; - Another item.
  • An item;
  • Another item;
  • Another item.

Images

![Image's caption](/assets/editor.png)
Image's caption

Code blocks

~~~ruby name/of/file.rb puts 'Hello World!' ~~~
name/of/file.rb
puts 'Hello World!'

Inline elements

Inline elements can be used anywhere in your text. It can also be applied inside block elements. Except inside a code block.

Word styling

*Hello* **world!**
Hello world!