Mermaid and Math Demo

Table of Contents

Mermaid #

  sequenceDiagram
  participant U as User
  participant H as Hugo
  participant T as trainsh Theme
  U->>H: Save content
  H->>T: Render with templates
  T-->>U: Live reload

Math #

Inline math: $a^2 + b^2 = c^2$.

Block math:

ex2dx=π\int_{-\infty}^{\infty} e^{-x^2} \, dx = \sqrt{\pi}