Back to blog

Math example

Include mathematical equations and expressions in your markdown using LaTeX or TeX typesetting syntax.

Author picture

Author picture

Author picture

 Math example
(Credit: Full Name)

This article is part of the series: Markdown Syntax

  • images/thumbnail.png

    πŸ‘‰Math example

  • images/thumb-purple-yellow.png
  • images/thumb-purple.png
  • This is an inline \(a^*=x-b^*\) equation.

    These are block equations:

    \[a^*=x-b^*\] \[ a^*=x-b^* \] \[ a^*=x-b^* \]

    These are block equations using alternate delimiters:

    $$a^*=x-b^*$$ $$ a^*=x-b^* $$ $$ a^*=x-b^* $$

    Chemistry

    Both MathJax and KaTeX provide support for chemical equations. For example:

    $$C_p[\ce{H2O(l)}] = \pu{75.3 J // mol K}$$
    
    $$C_p[\ce{H2O(l)}] = \pu{75.3 J // mol K}$$
    . Part 2: Extended Markdown Syntax β†’

    Discover the advantages and functionalities of Hugo, a static site generator written in Go.

    ← . Part 1: Basic markdown syntax

    Basic Syntax - The Markdown elements outlined in the original design document.

    comments powered by Disqus

    πŸͺ Cookies Consent

    This website uses cookies to analyze traffic, remember your preferences, and optimize your experience. By using this site, you agree to our cookie policy. Privacy Policy