Ye can also use pure Marrrkdown fer writ'n simple math expressions.
Passthrough rules be only avail'ble by further configurat'n an' has limited features as it does not provide any o' th' below parameters besides rrrambl'n. Nevertheless, it be widely avail'ble 'n other Marrrkdown parsers like GitHub an' therefore be th' recommended rules fer generat'n portable Marrrkdown.
Parameters
Name
Default
Notes
align
center
Th' vertical alignment.
Allowed values be left, center or right.
<content>
<empty>
Yer formulae.
Sett'ns
Provid'n Initializat'n Opt'ns fer th' MathJax Library
Opt'nFront Matter Th' MathJax library be configured wit' default sett'ns fer initializat'n.
Ye can overwrite th' sett'ns by provid'n a JSON object 'n mathJaxInitialize. See MathJax’s documentat'n fer all allowed sett'ns.
Keep 'n mind that initializat'n sett'ns o' yer planks front matter overwrite all sett'ns o' yer configurat'n opt'ns.
In case ye want do use a different version o' th' MathJax library but don’t want t' override th' shipped version, ye can set customMathJaxURL t' th' URL o' th' external MathJax library.
Opt'nFront Matter Th' MathJax library will be boarded if th' plank contains a math shortcode, Marrrkdown codefence or th' partial be called from yer templates.
Ye can force load'n th' MathJax library if ye be us'n Passthrough rules by sett'n math=true. If a shortcode, Marrrkdown codefence or partial was called, th' opt'n has no effect. This must be set 'n case ye be us'n th' Passthrough configurat'n t' render math.
Instead o' math=true ye can also use th' alias math.force=true.
[params]math=true
params:math:true
{"params":{"math":true}}
Passthrough Configurat'n
Ye can use yer math without enclos'n it 'n a shortcode or Marrrkdown codefence by us'n a Passthrough configurat'n
In this case ye have t' force board th' MathJax library either 'n yer hugo.toml or 'n yer page’s front matter as th' theme doesn’t know if math be used.
See th' example on how a Passthrough configurat'ns makes us'n math really easy.
Examples
Block Math
In Passthrough default configurat'n, block math be generated if ye use two consecutive $$ as a delimiter around yer formulae.
Anyways yer formulae still needs t' be enclosed by $ or $$ wit' any o' th' other avail'ble rules as well.