Typography
This is h1
This is h2
This is h3
This is h4
This is h5
This is h6
Ordered List
- Item 1
- Item 2
- Item 3
List
- Item
- Item
- Item
Quote
This is a blockquote.
Code block
int main() {
std::cout << "hello world" << std::endl;
return 0;
}
def fizz_buzz(start, end):
"""
Print 'Fizz', 'Buzz', or 'FizzBuzz' for numbers in the specified range based on divisibility rules.
Parameters:
start (int): The starting number of the range.
end (int): The ending number of the range.
"""
if start > end:
print("Start should be less than or equal to end.")
return
for fizzbuzz in range(start, end + 1):
if fizzbuzz % 3 == 0 and fizzbuzz % 5 == 0:
print("FizzBuzz")
elif fizzbuzz % 3 == 0:
print("Fizz")
elif fizzbuzz % 5 == 0:
print("Buzz")
else:
print(fizzbuzz)
Math
\[\begin{aligned} & \phi(x,y) = \phi \left(\sum_{i=1}^n x_ie_i, \sum_{j=1}^n y_je_j \right) = \sum_{i=1}^n \sum_{j=1}^n x_i y_j \phi(e_i, e_j) = \\ & (x_1, \ldots, x_n) \left( \begin{array}{ccc} \phi(e_1, e_1) & \cdots & \phi(e_1, e_n) \\ \vdots & \ddots & \vdots \\ \phi(e_n, e_1) & \cdots & \phi(e_n, e_n) \end{array} \right) \left( \begin{array}{c} y_1 \\ \vdots \\ y_n \end{array} \right) \end{aligned}\]Inline
Inline math \(E=mc^2\), inline code std::optional{}
.