Featured image of post Hugo STACK Howto w/ Math

Hugo STACK Howto w/ Math

Tricks and tips on Hugo, related to my STACK module.

About Hugo

Some tips using Hugo:

TLDR:

  • ๐Ÿ‘ Language Support
  • ๐Ÿ‘ Colorful tags
  • ๐Ÿ‘Ž๐Ÿพ Maths support

๐Ÿ‘ AWESOME Language support

Intenrazioanlization docs: https://stack.jimmycai.com/config/i18n

๐Ÿ‘Ž๐Ÿพ Test math (not working)

Uses Katex: https://katex.org/ Docs: https://dev.stack.jimmycai.com/p/math-typesetting/

ai a_i

ai a_i

% \f is defined as #1f(#2) using the macro

$$ \f\relax{x} = \int_{-\infty}^\infty \f\hat\xi,e^{2 \pi i \xi x} ,d\xi $$

$$ \f\relax{x} = \int_{-\infty}^\infty \f\hat\xi,e^{2 \pi i \xi x} ,d\xi $$

a~\tilde{a} ABโ€พ\overline{AB}

$$ \begin{Bmatrix}
a & b \
c & d
\end{Bmatrix} $$

Assets and image paths

  • images/ under each article
  • img/ in content/img/
  • static/images/ but still didnt figure out how to use them :/