Martin Woodward, Tali Herzka, Author at The GitHub Blog Updates, ideas, and inspiration from GitHub to help developers build and design software. Tue, 21 May 2024 19:23:33 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 https://github.blog/wp-content/uploads/2019/01/cropped-github-favicon-512.png?fit=32%2C32 Martin Woodward, Tali Herzka, Author at The GitHub Blog 32 32 153214340 Math support in Markdown https://github.blog/news-insights/product-news/math-support-in-markdown/ Thu, 19 May 2022 17:41:03 +0000 https://github.blog/?p=65023 Mathematical expressions are key to information sharing amongst engineers, scientists, data scientists, and mathematicians. Today we are pleased to announce that math expressions can be rendered in Markdown on GitHub using $$ as a delimiter for code blocks with math content or the $ delimiter for inline math expressions.

The post Math support in Markdown appeared first on The GitHub Blog.

]]>
Mathematical expressions are key to information sharing amongst engineers, scientists, data scientists and mathematicians. We are pleased to announce that math expressions can now be rendered natively in Markdown on GitHub.

Support for displaying math expressions has been a highly requested feature for over 8 years. From today, you can use the $ and $$ delimiters natively in Markdown on GitHub to insert math expressions in TeX and LaTeX style syntax. This content is then rendered using the highly popular MathJax library.

For example, the following Markdown,

When $a \ne 0$, there are two solutions to $(ax^2 + bx + c = 0)$ and they are
$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a} $$

will render as:

example of the quadratic equation

Please see the documentation for more information on including mathematical expressions in Markdown on GitHub. We can’t wait to see how this is used across the entire GitHub community!

The post Math support in Markdown appeared first on The GitHub Blog.

]]>
65023