First Post: Testing LaTeX Rendering

Published on 2023-07-11

Welcome to My First Blog Post

This is a test blog post to test the LaTeX and Markdown rendering capability of the blog.

LaTeX Rendering Test

Here are some examples of mathematical formulae:

  1. The quadratic formula:

    $$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

  2. Einstein’s famous equation:

    $$E = mc^2$$

  3. The normal distribution probability density function:

    $$f(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2}$$

  4. The Euler’s identity:

    $$e^{i\pi} + 1 = 0$$

  5. The definition of the derivative:

    $$f’(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}$$

These formulae should be rendered properly using MathJax. If you can see these correctly formatted, then LaTeX rendering is working in my blog posts!

I can also use inline LaTeX like this: The area of a circle is $A = \pi r^2$.

Markdown Rendering Test

Adding markdown to test:

Inline code print("Hello, World!")

Block code:

fn main() {
    println!("Hello, World!");
}
function greet(name: string): void {
  console.log(`Hello, ${name}!`);
}

Hopefully I’ll advance past “Hello, World!” soon!