Launching Jekyll

Table of contents

  1. Run Jekyll on local host
  2. Kramdown \(\LaTeX\) syntax
    1. Inline
    2. Line break

Run Jekyll on local host

Clearing the jekyll cache when running locally

bundle exec jekyll clean

Running the page on auto-update

bundle exec jekyll serve --livereload

Pushing an empty commit to github to trigger rebuild

git commit --allow-empty -m "trigger rebuild"
git push origin main

Open in your web browser

http://localhost:4000/

Kramdown \(\LaTeX\) syntax

Inline

# The equation is displayed inline when using double dollar signs not separated by a spaceline.
$$E = mc^2$$

creates \(E = mc^2\).

Line break

The following equation is separeted by a spaceline, so its shown large and centered/middle orientated

# The equation is displayed with a line break when using line break after double dollar signs.
$$
\int_{a}^{b} f(x)\, dx = F(b) - F(a)
$$

creates

\[\int_{a}^{b} f(x)\, dx = F(b) - F(a)\]