Math & Emoji

MathJax inline + display, GitHub emoji shortcodes, footnotes.

Math & Emoji#

Inline math#

The Pythagorean theorem is a2+b2=c2 and the quadratic formula is x=b±b24ac2a. Inline math sits naturally in running prose.

Display math#

A few set-piece equations:

eiπ+1=0
ex2dx=π
tΨ(x,t)=22m2x2Ψ(x,t)+V(x)Ψ(x,t)

A matrix:

A=(a11a12a13a21a22a23a31a32a33)

Emoji#

The markdown-it-emoji plugin maps GitHub shortcodes to unicode glyphs:

  • 🚀 launch

  • shiny things

  • success

  • failure

  • ⚠️ heads up

  • 🎉 ship-it

  • 📝 notes

  • 🐛 bug

  • 🔧 tools

  • 📚 docs

Footnotes#

The first footnote links down to the references section. Multiple footnotes can co-exist in the same paragraph .

Mixed: math inside a callout#

Inline math works inside containers too: the variance of a random variable X is Var(X)=E[X2]E[X]2.

Mixed: math inside a code block#

Math inside a code fence is intentionally NOT rendered — it stays as raw source. This is correct behaviour; you want code to look like code:

$E = mc^2$ — not rendered as math, displayed as the literal source string.

A short footnote.

Footnotes support bold, italics, code, and links.

A longer footnote that spans multiple sentences. The numbering is automatic so authors don’t have to track indices by hand. Use named refs like [^name] so re-ordering doesn’t renumber visible links.