1. TEXT
1.1. Header
1.2. Space
1.3. Line Break
1.4. Styling Text
1.5. Aligning Text
1.6. List Text
1.7. Quote Text
1.8. Collapsed Section
1.9. Alerts
1.10. Hiding Content
2. CODE
2.1. Inline Code
2.2. Code Block
3. LINK
3.1. Text Link
3.2. Image as Link
3.3. Section Link
3.4. Reference Link
4. IMAGE
4.1. Resizing Image
4.2. Aligning Image
5. TABLE
5.1. Aligning Text in Table
5.2. Side by Side Tables
6. MATHEMATICAL EXPRESSION
6.1. Inline Mathematical Expression
6.2. Mathematical Expression Block
6.3. Arithmetic Expressions
6.4. Equality Expressions
6.5. Comparison Expressions
6.6. Algebra Expressions
6.7. Angle Expressions
6.8. Probability & Statistics
6.9. Complex Numbers
6.10. Linear Algebra: Vectors
6.11. Linear Algebra: Matrices
6.12. Calculus Expressions
6.13. Greek Alphabet
# H1 (Biggest)
## H2
### H3
#### H4
##### H5
###### H6 (Smallest)
to add a single space.
  to add 2 spaces.
  to add 4 spaces.
No space
1 space
 2 spaces
 4 spaces
No space
1 space
2 spaces
4 spaces
An .md
file, would render on one line without a line break.
Markdown
Notes
Markdown Notes
To create a line break in an .md
file, you will need to include one of the following:
-
Include two spaces at the end of the first line.
Markdown<space><space> Notes
Markdown
Notes -
Include a backslash at the end of the first line.
Markdown\ Notes
Markdown
Notes -
Include an HTML single line break tag at the end of the first line.
Markdown<br/> Notes
Markdown
Notes
If you leave a blank line between two lines, both .md
files and Markdown will render the two lines separated by the blank line:
Markdown
Notes
Markdown
Notes
Style | Syntax | Example | Output |
---|---|---|---|
Bold | ** ** or __ __ |
**Bold** |
Bold |
Italic | * * or _ _ |
_Italic_ |
Italic |
Strike-through | ~~ ~~ or ~ ~ |
~Strike-through~ |
|
Bold and Italic | *** *** |
***Bold and Italic*** |
Bold and Italic |
Underline | <ins> </ins> |
<ins>Underline</ins> |
Underline |
Subscript | <sub> </sub> |
A <sub>subscript</sub> text |
A subscript text |
Superscript | <sup> </sup> |
A <sup>superscript</sup> text |
A superscript text |
<p align="left">Left-aligned text</p>
<p align="center">Center-aligned text</p>
<p align="right">Right-aligned text</p>
Left-aligned text
Center-aligned text
Right-aligned text
- Element
+ Element
* Element
- Element
- Element
- Element
- Element 1
- Element 2
- Sub-element 1
- Sub-element 1.a
- Element 1
- Element 2
- Element 2.1
- Element 2.1.a
- Element 2.1
1. Element 1
2. Element 2
1. Sub-element 1
1. Sub-element 1.a
- Element 1
- Element 2
- Element 2.1
- Element 2.1.a
- Element 2.1
- [x] Completed
- [ ] Not completed
- Completed
- Not completed
> This is a quote.
This is a quote.
<details>
<summary>Collapsed section</summary>
Text in collapsed section.
</details>
Collapsed section
Text in collapsed section.
> :memo: **NOTE**: Useful information that users should know, even when skimming content.
> :bulb: **TIP**: Helpful advice for doing things better or more easily.
> :warning: **WARNING**: Urgent info that needs immediate user attention to avoid problems.
> :heavy_check_mark: **CHECK MARK**: Used to indicate when an action is complete or that something is correct.
📝 NOTE: Useful information that users should know, even when skimming content.
💡 TIP: Helpful advice for doing things better or more easily.
⚠️ WARNING: Urgent info that needs immediate user attention to avoid problems.
✔️ CHECK MARK: Used to indicate when an action is complete or that something is correct.
There is another use for GitHub:
> [!NOTE]
> Useful information that users should know, even when skimming content.
> [!TIP]
> Helpful advice for doing things better or more easily.
> [!IMPORTANT]
> Key information users need to know to achieve their goal.
> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.
> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
Note
Useful information that users should know, even when skimming content.
Tip
Helpful advice for doing things better or more easily.
Important
Key information users need to know to achieve their goal.
Warning
Urgent info that needs immediate user attention to avoid problems.
Caution
Advises about risks or negative outcomes of certain actions.
This content will appear in the rendered Markdown
<!-- This content will not appear in the rendered Markdown -->
this content will appear in the rendered Markdown
This is `inline code` example.
This is inline code
example.
```code-language
Code Block
```
```cpp
#include <iostream>
int main()
{
// some code
return 0;
}
```
#include <iostream>
int main()
{
// some code
return 0;
}
[Link Text](URL "Title")
[Markdown Notes](https://github.com/abdullahdangac/Markdown-Notes "Markdown Notes")
[](hyperlink-url)
[](https://www.linkedin.com/in/abdullahdangac "LinkedIn Profile")
[](https://www.linkedin.com/in/abdullahdangac/)
Tip
You can find some Markdown badges here.
### Sample Section
#### Sample Subsection
Link to the Sample Section: [Link Text](#sample-section)
Link to the Sample Subsection: [Link Text](#sample-subsection)
### This'll be a _Helpful_ Section About the Greek Letter (e.g. β)!
A heading containing characters not allowed in fragments, UTF-8 characters, two
consecutive spaces between the first and second words, and formatting.
Link to the helpful section: [Link Text](#thisll-be-a-helpful-section-about-the-greek-letter-e.g.-β).
Link to the Sample Section: Link Text
Link to the Sample Subsection: Link Text
A heading containing characters not allowed in fragments, UTF-8 characters, two consecutive spaces between the first and second words, and formatting.
Link to the helpful section: Link Text
Use link as [reference-style][reference link text] with new link title.
Or leave title empty and use the [reference link text] itself.
[reference link text]: https://www.somewebsite.org
Use link as reference-style with new link title.
Or leave title empty and use the reference link text itself.
[CMake] : an open source, cross-platform family of tools designed to build, test, and package software.
[C++ Reference][cppreference.com] : a reference guide for C++ programming language.
[CMake]: https://cmake.org/
[cppreference.com]: https://en.cppreference.com
CMake is an open source tool designed to build, test and package software.
C++ Reference is a reference guide for C++ programming language.


<img src="image_name.png" alt="Alt Text" width=300 height=450 title="Image Title"/>
<img src="image_name.png" alt="Alt Text" width="50%" height="50%" title="Image Title"/>
<img src="https://github.com/dcurtis/markdown-mark/blob/master/png/208x128.png" width=104 height=64/>
<img src="https://github.com/dcurtis/markdown-mark/blob/master/png/208x128.png" width=10.5% height=10.5%/>
<p align="align-type">
<img src="image_name.png" alt="Alt Text" width="50%" height="50%" title="Image Title"/>
</p>
<p align="left">
<img src="https://github.com/dcurtis/markdown-mark/blob/master/png/208x128.png" width=10.5% height=10.5%/>
</p>
<p align="center">
<img src="https://github.com/dcurtis/markdown-mark/blob/master/png/208x128.png" width=10.5% height=10.5%/>
</p>
<p align="right">
<img src="https://github.com/dcurtis/markdown-mark/blob/master/png/208x128.png" width=10.5% height=10.5%/>
</p>
|A |B |C |
|--|--|--|
|1 |2 |3 |
|4 |5 |6 |
|7 |8 |9 |
A | B | C |
---|---|---|
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 |
| Left-aligned | Center-aligned | Right-aligned |
|:-------------|:--------------:|--------------:|
| Text | Text | Text |
| Text | Text | Text |
Left-aligned | Center-aligned | Right-aligned |
---|---|---|
Text | Text | Text |
Text | Text | Text |
:--
means the column is left aligned.--:
means the column is right aligned.:-:
means the column is center aligned.
<table>
<tr><th>First Table</th><th>Second Table</th></tr>
<tr><td>
|A |B |C |D |
|:---:|:---:|:---:|:---:|
|0 |1 |2 |3 |
|7 |8 |9 |10 |
</td><td>
|E |F |G |
|:---:|:---:|:---:|
|4 |5 |6 |
|11 |12 |13 |
</td></tr>
</table>
First Table | Second Table | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
$\sqrt{3x-1}+(1+x)^2$
$$
\sqrt{3x-1}+(1+x)^2
$$
```math
\sqrt{3x-1}+(1+x)^2
```
Notation | Example | Markdown Format |
---|---|---|
Addition | $x+y$ |
|
Subtraction | $x-y |
|
Multiplication |
|
$x \times y$ $x \ast y$ $x \cdot y$
|
Division |
|
$x \colon y$ $x / y$ $x \div y$ $\frac{x}{y}$
|
Remainder / Modulo | $x \mod y$ |
|
Negative Value | $-x$ |
|
Plus or Minus Minus or Plus |
|
$\pm x$ $\mp x$
|
Squared Cubed nth-Power |
|
$x^2$ $x^3$ $x^n$
|
Square Root Cube Root nth-Root |
|
$\sqrt{x}$ $\sqrt[3]{x}$ $\sqrt[n]{x}
|
Notation | Example | Markdown Format |
---|---|---|
Equals | $x=y$ |
|
Not Equals | $x \neq y$ |
|
Identical / Equivalent To | $x \equiv y$ |
|
Proportional To | $x \propto y$ |
|
Approximately Equal To | $x \approx y$ |
Notation | Example | Markdown Format |
---|---|---|
Less Than Greater Than |
|
$a<b$ $a>b$
|
Less Than or Equal Greater Than or Equal |
|
$a \leq b$ $a \geq b$
|
Much Smaller Than Much Larger Than |
|
$a \ll b$ $a \gg b$
|
Notation | Example | Markdown Format |
---|---|---|
Factorial | $x!$ |
|
Absolute Value | $|-x|$ |
|
Function | $f(x)$ |
|
Change or Difference | $\Delta x = x_1 - x_0$ |
|
Pi | $\pi = 3.14159...$ |
|
Euler’s Constant | $e = 2.71828...$ |
|
Sum | $\displaystyle\sum_{k=0}^n k$ |
|
Series Product | $\displaystyle\prod_{x=0}^n x$ |
|
Brackets Parentheses |
|
$[...]$ $(...)$
|
Notation | Example | Markdown Format |
---|---|---|
Angle | $\angle$ |
|
Degree, Arc Min, Arc Sec | $30\degree 40\rq 50\rq\rq$ |
|
Radians | $2\pi rad$ |
Notation | Example | Markdown Format |
---|---|---|
Probability of Event A |
|
$P(A)$ or $\Pr(A)$ |
Intersection Prob. of A & B | $P(A \cap B)$ |
|
Union Prob. of A or B | $P(A \cup B)$ |
|
Conditional Prob. of A Given B | $P(A|B)$ |
|
Median | $\tilde{x}$ |
|
Population Mean |
|
$\mu$ $\overline{x}$ $\langle x \rangle$
|
Standard Deviation | $\sigma$ |
|
Varience | $\sigma^2$ |
Notation | Example | Markdown Format |
---|---|---|
Imaginary Unit i
|
$z = a + bi$ |
|
Real Part Of Complex Number | $\text{Re}(z) = a$ |
|
Imaginary Part Of Complex Number | $\text{Im}(z) = b$ |
|
Complex Conjugate | $\bar{z} = z^* = a - bi$ |
Notation | Example | Markdown Format |
---|---|---|
Vectors |
|
$\mathbf{v}$ $\overline{v}$ $\vec{v}$
|
Dot Product |
|
$\mathbf{v} \cdot \mathbf{w}$ $(v,w)$ $\left< v | w \right>$
|
Cross Product | $v \times w$ |
|
Length of v | $|v|$ |
|
Norm of v | $||v||$ |
$$
v = \begin{pmatrix}
1 & 2 & 3
\end{pmatrix}
$$
$$
w = \begin{pmatrix}
4 \\
5 \\
6 \\
\end{pmatrix}
$$
Notation | Example | Markdown Format |
---|---|---|
Product | $A \cdot B$ |
|
Hadamard Product | $A \circ B$ |
|
Kronecker Product | $A \otimes B$ |
|
Transposed Matrix | $A^T$ |
|
Conjugate Transpose | $A^\ast$ |
|
Inverse Matrix | $A^{-1}$ |
|
Determinant | $|A|$ |
|
Norm | $||A||$ |
$$
A = \begin{bmatrix}
1 & 2 & 3 \\
4 & 5 & 6
\end{bmatrix}
$$
$$
f(x) = \begin{cases}
x & \text{if } a>b \\
y & \text{if } c>d
\end{cases}
$$
$$
\int_{a}^{b} dx
$$
$$
\frac{df}{dx}
$$
$$
\frac{\partial f}{\partial x}
$$
$$
f\rq
f\rq\rq
$$
$$
\dot f
\ddot f
$$
Letter | Lower | Markdown Format | Upper | Markdown Format |
---|---|---|---|---|
Alpha | $\alpha$ |
$\Alpha$ |
||
Beta | $\beta$ |
$\Beta$ |
||
Gamma | $\gamma$ |
$\Gamma$ |
||
Delta | $\delta$ |
$\Delta$ |
||
Epsilon | $\epsilon$ |
$\Epsilon$ |
||
Zeta | $\zeta$ |
$\Zeta$ |
||
Eta | $\eta$ |
$\Eta$ |
||
Theta | $\theta$ |
$\Theta$ |
||
Iota | $\iota$ |
$\Iota$ |
||
Kappa | $\kappa$ |
$\Kappa$ |
||
Lambda | $\lambda$ |
$\Lambda$ |
||
Mu | $\mu$ |
$\Mu$ |
||
Nu | $\nu$ |
$\Nu$ |
||
Xi | $\xi$ |
$\Xi$ |
||
Omicron | $\omicron$ |
$\Omicron$ |
||
Pi | $\pi$ |
$\Pi$ |
||
Rho | $\rho$ |
$\Rho$ |
||
Sigma | $\sigma$ |
$\Sigma$ |
||
Tau | $\tau$ |
$\Tau$ |
||
Upsilon | $\upsilon$ |
$\Upsilon$ |
||
Phi | $\phi$ |
$\Phi$ |
||
Chi | $\chi$ |
$\Chi$ |
||
Psi | $\psi$ |
$\Psi$ |
||
Omega | $\omega$ |
$\Omega$ |