From 556e9786bc5785b34af7e782b1953596789d9498 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 8 May 2020 11:23:56 +0000 Subject: add README.md --- README.md | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..188afe8 --- /dev/null +++ b/README.md @@ -0,0 +1,88 @@ +jekyll-theme +============ + +My [Jekyll] theme. + +I use it for [egor-tensin.github.io], [blog], [sorting-algorithms]. + +[Jekyll]: https://jekyllrb.com/ +[egor-tensin.github.io]: https://github.com/egor-tensin/egor-tensin.github.io +[blog]: https://github.com/egor-tensin/blog/tree/gh-pages +[sorting-algorithms]: https://github.com/egor-tensin/sorting-algorithms/tree/gh-pages + +API +--- + +See the _config.yml files in the projects above to see which `site` values are +used. +Otherwise this theme is irrelevant for anybody but me of course, so it's not +worth documenting. + +Typesetting math +---------------- + +[MathJax] can be used to typeset mathematics using LaTeX. +To use MathJax, set `mathjax` to `true` in page's front matter. +Then you can do things like this: + +``` +This is an inline formula: $$y = kx + b$$. +This is a formula in a separate block: + +$$ +y = kx + b +$$ +``` + +[MathJax]: https://www.mathjax.org/ + +### GitHub workarounds + +MathJax version 3 is used, which is unsupported by Kramdown (which produces +`