Markdown

Headway uses Markdown for formatting.

Headers

# This is an <h1> tag
## This is an <h2> tag
### This is an <h3> tag
#### This is an <h4> tag
##### This is an <h5> tag
###### This is an <h6> tag

Emphasis

*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
_You **can** combine them_

Lists

Unordered

* Item 1
* Item 2
* Item 2a
* Item 2b

Ordered

1. Item 1
2. Item 2
3. Item 3
* Item 3a
* Item 3b

Media

Images

![Logo](/images/logo.png)
Format: ![Alt Text](url)

Video

Loom, YouTube, Vimeo, and Wistia videos are embedded automatically when entered in a new line, or at the end of one. For example:

Video at the end of line: https://www.youtube.com/watch?v=Xe53-xzKU0U
Video in a new line:
https://www.loom.com/share/d90264426d4848be9c8112fd51841336

To prevent a video link from being automatically embedded, wrap it as a link like this:

[https://www.youtube.com/watch?v=Xe53-xzKU0U](https://www.youtube.com/watch?v=Xe53-xzKU0U)

Videos can also be embedded using the same syntax as images:

Format: ![Video name](url)
Examples:
![Loom <3 Headway](https://www.loom.com/share/d90264426d4848be9c8112fd51841336)
![Wistia is for Marketing](https://wistia.com/medias/ve7pzy0d3y)
![Fall in love with Poland](https://vimeo.com/150879953)
![Escape to Kohub - Tropical Coworking](https://www.youtube.com/watch?v=Xe53-xzKU0U)

Sizing images and video

Media sizing can be done with the additional = option:

![foo](https://vimeo.com/150879953 =100x80) simple, assumes units are in px
![bar](bar.jpg =100x*) sets the height to "auto"
![baz](baz.jpg =80%x5em) Image with width of 80% and height of 5em

Links

http://headwayapp.co - automatic!
[Headway](http://headwayapp.co)

Blockquotes

> We're living the future so
> the present is our past.

Inline code

I think you should use an `window.HW_config` instead.

Code blocks

Simple code block

```
function someFunction(arg){
if (arg){
// do something
}
}
```

Syntax Highlighting

```javascript
function someFunction(arg){
if (arg){
// do something
}
}
```