Learn how to write math expressions in DEV.to articles
In order to write inline equations, use:
{% katex inline %}
c^2 = a^2 + b^2
{% endkatex %}
Output:
Pythagorean Theorem:
For block expressions:
{% katex %}
c^2 = a^2 + b^2
{% endkatex %}
Output:
Pythagorean Theorem:
Read more about Editor Guide here