# GitHub Markdown Example for Math Majors
This Markdown file demonstrates **basic GitHub Markdown features**, with examples tailored to math students. It also includes **LaTeX syntax** for equations and math formatting.
---
## Table of Contents
1. [Headings](#headings)
2. [Text Formatting](#text-formatting)
3. [Lists](#lists)
4. [Links and Images](#links-and-images)
5. [Blockquotes](#blockquotes)
6. [Code and Syntax Highlighting](#code-and-syntax-highlighting)
7. [Tables](#tables)
8. [Horizontal Rules](#horizontal-rules)
9. [Task Lists](#task-lists)
10. [Math with LaTeX](#math-with-latex)
---
## Headings
```markdown
# H1
## H2
### H3
#### H4- Bold:
**Bold**→ Bold - Italic:
*Italic*→ Italic - Bold and Italic:
***Bold and Italic***→ Bold and Italic Strikethrough:~~Strikethrough~~
- Item A
- Subitem A1
- Sub-subitem A1a-
Item A
-
Subitem A1
- Sub-subitem A1a
-
1. First
2. Second
1. Sub-second-
First
-
Second
- Sub-second
[GitHub](https://github.com)Visit GitHub
)> Mathematics is the queen of the sciences.Mathematics is the queen of the sciences.
Use the \lim_{x \to 0} \frac{\sin x}{x} limit rule.
```python
def factorial(n):
return 1 if n == 0 else n * factorial(n - 1)
```
def factorial(n):
return 1 if n == 0 else n * factorial(n - 1)| Symbol | Meaning | Example |
|--------|---------------|-----------------|
| ∑ | Summation | $\sum_{i=1}^n i$ |
| ∫ | Integral | $\int_0^1 x dx$ |
| ∂ | Partial Deriv | $\frac{\partial f}{\partial x}$ || Symbol | Meaning | Example |
|---|---|---|
| ∑ | Summation | |
| ∫ | Integral | |
| ∂ | Partial Deriv |
---- [x] Review algebra
- [ ] Study calculus
- [ ] Learn topology- Review algebra
- Study calculus
- Learn topology
GitHub now supports inline and block math using LaTeX! Wrap with $...$ for inline, or $$...$$ for block.
Euler's identity is $e^{i\pi} + 1 = 0$.Euler's identity is
$$
\int_{a}^{b} f(x) dx = F(b) - F(a)
$$$$
\begin{bmatrix}
1 & 2 \\
3 & 4
\end{bmatrix}
$$$$
\begin{cases}
x + y = 1 \\
x - y = 3
\end{cases}
$$Here is a statement with a footnote.[^1]
[^1]: This is the footnote.Here is a statement with a footnote.1
You can use GH Markdown and LaTeX, and you can write math-heavy documentation, or lecture notes, and even explanations that render in .md files on GitHub!
Footnotes
-
This is the footnote. ↩