\KaTeX works?
Let’s see:
\begin{aligned} 500 &= 1 \times 256 + 244 \\ &= {\color{blue}1} \times 16^{\color{red}2} + 240 + 4 \\ &= {\color{blue}\underset{\substack{\downarrow\\[2pt]1_{16}}}{1}} \times 16^{\color{red}2} + {\color{blue}\underset{\substack{\downarrow\\[2pt]\mathrm{F}_{16}}}{15}} \times 16^{\color{red}1} + {\color{blue}\underset{\substack{\downarrow\\[2pt]4_{16}}}{4}} \times 16^{\color{red}0} \\ &= {\color{blue}1\mathrm{F}4_{16}} \end{aligned}
\begin{array}{c|c|c|c} {\color{red}\text{power }} 16^{\color{red}?} & {\color{red}2} & {\color{red}1} & {\color{red}0} \\\hline {\color{blue}\text{hexadecimal digits } ?}_{16} & {\color{blue}1} & {\color{blue}\mathrm{F}} & {\color{blue}4} \end{array}
Markdown → HTML slides made with pandoc
It works on any mainstream browser, and mobile also. That’s it for the basics. You can stop here if you aren’t seeking to make avanced things.
Markdown code of
these slides: view the file index-en.md
in my repo.
style.css
for custom styles (see next
slide)
script.js
with a special
(move your mouse on top of it)
document.addEventListener("DOMContentLoaded", () => {
const slides = document.querySelector("#my-own-stuff");
const btn = slides.querySelector("button");
const list = slides.querySelector("ul");
const node = document.createElement("li");
node.textContent = "Move your mouse.";
btn.addEventListener("mouseenter", () => {
list.appendChild(node);
});
btn.addEventListener("mouseleave", () => {
list.removeChild(list.lastChild);
});
});
Specify the custom scripts and styles to be used in the source file’s header.
<div>
wrapper ». For example:Markdown (index.md
)
CSS (style.css
)