GitBook Introduction

Original Markdown Page

GitBook uses Markdown as a shorthand to write html.

Markdown HTML Rendered
# Some Header <h1>Some Header</h1>

Some Header

The table above is written in markdown as:

| Markdown | HTML | Rendered |
| -- | -- | -- |
| `# Some Header` | `<h1>Some Header</h1>` | <h1>Some Header</h1> |

Markdown cheatsheet: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet


Markdown is good to know, and easy to learn:

  • Markdown is used for README.md files on GitHub
  • Markdown is used in Q&A on StackOverflow

Easy syntax highlighting

<style>
    * {
        margin: 0;
        padding: 0;
    }

    body > div {
        font-size: 4px;
        color: #fff;
    }
</style>

<script>
    $(document).ready(function(){
        var something = 5;
        if (something == 5){
            console.log('woohoo');
        }
    });
</script>

<section>
    <p>Hello world</p>
</section>