- <h1>GitHub Flavored Markdown</h1>
- <h2>Multiple underscores in words</h2>
- <p>do_this_and_do_that_and_another_thing</p>
- <h2>URL autolinking</h2>
- <p><a href="http://example.com">http://example.com</a></p>
- <h2>Strikethrough</h2>
- <p><del>Mistaken text.</del></p>
- <h2>Fenced code blocks</h2>
- <pre><code>function test() {
- console.log("notice the blank line before this function?");
- }
- </code></pre>
- <h2>Syntax highlighting</h2>
- <pre><code class="language-ruby">require 'redcarpet'
- markdown = Redcarpet.new("Hello World!")
- puts markdown.to_html
- </code></pre>
- <pre><code>this is also code
- </code></pre>
|