Skip to content

swo/swo.github.io

Repository files navigation

Getting started

  • Install ruby, e.g., with mise
  • gem install bundler
  • bundler install - use the Gemfile to install dependencies
  • make serve to serve locally
  • make build to build locally

Notes

Writing math

The GitHub Pages gem renders pages using kramdown and the MathJax option. This leads to some weird results, where whole blocks get commented out. I found the simplest answer was the bypass kramdown altogether by wrapping paragraphs around double-dollars:

<p>
$$
x = y
$$
</p>

This way, kramdown doesn't touch anything inside, and MathJax finds the $$ and works its normal magic.

About

Personal web page

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 17