--- layout: post title: Test post math: true published: yes --- This is a test post that I'll use as a sample for my future posts (and for the design as well, geez). # Heading 1 {#myid} ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6 ### Body text Lorem ipsum dolor sit amet, test link adipiscing elit. **This is strong**. Nullam dignissim convallis est. Quisque aliquam. *This is emphasized*. Donec faucibus. Nunc iaculis suscipit dui. 53 = 125. Water is H2O. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. The New York Times (That’s a citation). Underline. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. HTML and CSS are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. ### Blockquotes > Lorem ipsum dolor sit amet, test link adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. ## List Types ### Ordered Lists 1. Item one 1. sub item one 2. sub item two 3. sub item three 2. Item two ### Unordered Lists * Item one * Item two * Item three ## Tables | Header1 | Header2 | Header3 | |:--------|:-------:|--------:| | cell1 | cell2 | cell3 | | cell4 | cell5 | cell6 | |---- | cell1 | cell2 | cell3 | | cell4 | cell5 | cell6 | |===== | Foot1 | Foot2 | Foot3 {: rules="groups"} ## Code Snippets Syntax highlighting via Pygments {% highlight css %} #container { float: left; margin: 0 -240px 0 0; width: 100%; } {% endhighlight %} Non Pygments code example

This is great isn't it?

## MathJax Display inline $$\LaTeX$$ and block TeX: {% highlight tex %} $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$ {% endhighlight %} $$\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$ ## Some more 1984\. It was great \- others say that, too! * This is just text. * this is a sub list item * this is a sub sub list item * This is just text, spanning two lines * this is a nested list item. [linkid]: http://www.example.com/ "Optional Title" ### definition term 1 : This definition will just be text because it would normally be a paragraph and the there is no preceding blank line. > although the definition contains other block-level elements : This definition *will* be a paragraph since it is preceded by a blank line. ### Now is a class defined for paragraph * {:.btn}This item has the class "btn" * {:.btn .btn-green}Another button * {:.btn .btn-blue}Another button * {:.btn}Another button * {:.btn .btn-green}Another button * {:.btn .btn-blue}Another button * {:.btn .btn-red}Another button ### Reference Links This is a [reference style link][linkid] to a page. And [this] [linkid] is also a link. As is [this][] and [THIS]. ## This is some text not written in HTML but in another language! *[another language]: It's called Markdown *[HTML]: HyperTextMarkupLanguage ## What about R code? ```{r} summary(cars) ``` You can also embed plots, for example: ```{r, echo=FALSE} plot(cars) ``` Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot. [^foottt]: from *tenten.vn*