Math
INFO
Test Inline
NOTE
DG: Supported, But can’t be in the same line, must start another line
Obsidian: Supported.
Hugo: Supported.
NOTE
Hugo: the color not supported.
Lavender, Ok withgreenObsidian: Supported.
DG: Supported. GitHub - oleeskild/digitalgarden
- Should display error or not rendered
WARNING
Hugo: Not supported.
\left\{, Can use\left(or\left\lbrace
Please use
\\instead of\\\\
Code
import os
print("A message")Other
Closed by default
Folding/Collapsable callout
Open by default
Folding/Collapsable callout
A new line is required between the label and the content to be used correctly in Hugo
MathJax / LaTex
MathJax basic tutorial and quick reference
Inline formula
- Should display error
Please use
\left\(or\left\lbraceinstead of\left\{
- Should not displayed
Please use
\astinstead of\*, when there have many***in the formula, the formula will not render.Hugo: Supported.
DG: some error.
\*Obsidian: same as DG
\*
- Should not displayed
You must replace
_to\_Hugo: The real reason is
_, Otherwise this formula will not render.
Misc
| Tables | Are | Cool |
|---|---|---|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
Symblos
When space
shown in this formula, that will not render.
\begin{cases} n/2, & \text{if }n\text{ is even} \\\\ 3n+1, & \text{if }n\text{ is odd} \end{cases}$$ ---
\begin{array}{cc} \mathrm{Bad} & \mathrm{Better} \ \hline \ e^{i\frac{\pi}2} \quad e^{\frac{i\pi}2}& e^{i\pi/2} \ \int_{-\frac\pi2}^\frac\pi2 \sin x,dx & \int_{-\pi/2}^{\pi/2}\sin x,dx \ \end{array}
--- $$\cancelto{\cancelto{\cancelto{x^{2+x}}{\cancelto{x^2}{x}+4}}4}0$$\begin{array}{|rc|} \hline \verb+\color{black}{text}+ & \color{black}{text} \ \verb+\color{gray}{text}+ & \color{gray}{text} \ \verb+\color{silver}{text}+ & \color{silver}{text} \ \verb+\color{white}{text}+ & \color{white}{text} \ \hline \verb+\color{maroon}{text}+ & \color{maroon}{text} \ \verb+\color{red}{text}+ & \color{red}{text} \ \verb+\color{yellow}{text}+ & \color{yellow}{text} \ \verb+\color{lime}{text}+ & \color{lime}{text} \ \verb+\color{olive}{text}+ & \color{olive}{text} \ \verb+\color{green}{text}+ & \color{green}{text} \ \verb+\color{teal}{text}+ & \color{teal}{text} \ \verb+\color{aqua}{text}+ & \color{aqua}{text} \ \verb+\color{blue}{text}+ & \color{blue}{text} \ \verb+\color{navy}{text}+ & \color{navy}{text} \ \verb+\color{purple}{text}+ & \color{purple}{text} \ \verb+\color{fuchsia}{text}+ & \color{magenta}{text} \ \hline \end{array}
\left\langle
q
\middle|
\frac{\frac{x}{y}}{\frac{u}{v}}
\middle|
p
\right\rangle
\left\langle
q
\middle|
\frac{\frac{x}{y}}{\frac{u}{v}}
\middle|
p
\right\rangle