mirror of
https://github.com/Vimux/Binario.git
synced 2024-12-22 12:39:07 +00:00
Add MathJax example post
This commit is contained in:
parent
6b96623900
commit
64c5f15602
1 changed files with 43 additions and 0 deletions
43
exampleSite/content/post/mathjax.md
Normal file
43
exampleSite/content/post/mathjax.md
Normal file
|
@ -0,0 +1,43 @@
|
|||
---
|
||||
title: MathJax
|
||||
description: Simple MathJax example test article
|
||||
date: 2019-01-13
|
||||
mathjax: true
|
||||
tags:
|
||||
- "MathJax"
|
||||
---
|
||||
|
||||
MathJax JavaScript library allows you to include mathematics in your web pages for viewing in any modern browser.
|
||||
<!--more-->
|
||||
|
||||
## How to enable MathJax
|
||||
|
||||
For enabling MathJax, add this to your content's frontmatter:
|
||||
|
||||
```yaml
|
||||
mathjax: true
|
||||
```
|
||||
|
||||
## MathJax example
|
||||
|
||||
**Input**:
|
||||
|
||||
```
|
||||
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} \\]
|
||||
```
|
||||
|
||||
**Output**:
|
||||
|
||||
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} \\]
|
Loading…
Reference in a new issue