I’m trying to setup a blog with with many moving parts : jekyll, blogdown, mathjax, R, python, jupyter, github-pages. I’m optimistic that if I keep it simple they will all play well together. Time will tell..

Mathjax

Lets test out mathjax so that LaTeX equations will render in a browser.

Here is a test of mathjax inline \( e^{i\pi} + 1 = 0 \).

Syntax highlighting

Let’s try out R syntax highlighting

# Testing hello world
library(MASS)
x <- "This is a string : Hello world!"
print(x)

How about python syntax highlighting

# Testing hello world
import datetime
x = "This is a string : Hello world!"
print(x)