Bold like this
Italics like this
Links like this
Inline code like this myVar=1
Unordered lists like this:
Ordered lists like this:
Inline math like this (x^2)
Block math like this:
$$ f(x) = \frac{1}{(\sigma\sqrt{2 \pi})} e^{-(\frac{(x - \mu)^2}{2 \sigma^2})} $$
or like this:
[ f(x) = \frac{1}{(\sigma\sqrt{2 \pi})} e^{-(\frac{(x - \mu)^2}{2 \sigma^2})} ]
Inline R output like this: r rnorm(1)
.
Block R code like this:
f <- function(n) rnorm(n) f(10)
Plain old html: google
Syntax-highlighted code blocks (many languages available) like this:
f <- function(x) {
cat("hi")
x <- c(1:10)
rnorm(n)
}
A list of displays from your VDB:
nbDisplayList(c("plot1", "plot2", "plot3"))
For a larger thumbnail for single-panel displays:
nbDisplay("plot4")
More math for fun...
A Cross Product Formula:
[ \mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \ \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \ \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \ \end{vmatrix} ]
The probability of getting (k) heads when flipping (n) coins is:
[ P(E) = {n \choose k} p^k (1-p)^{ n-k} ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.