Markdown Basics
This is a sample article demonstrating Markdown rendering with bold text, italic text, and links.
Code Examples
Here's a JavaScript code example:
JAVASCRIPT1function greet(name) { 2 return `Hello, ${name}!`; 3} 4 5console.log(greet('World'));
And here's some Python:
PYTHON1def factorial(n): 2 if n == 0: 3 return 1 4 else: 5 return n * factorial(n-1) 6 7print(factorial(5)) # Output: 120
LaTeX Math Formulas
Inline math:
Display math:
Lists
Unordered list:
- Item 1
- Item 2
- Nested item
- Item 3
Ordered list:
- First step
- Second step
- Third step
Tables
Name | Age | Occupation |
---|---|---|
John | 28 | Developer |
Jane | 32 | Designer |
Bob | 45 | Manager |
Blockquotes
This is a blockquote. It can span multiple lines.