Test
Testing Markdown Features
Text Formatting
This paragraph demonstrates basic text formatting. You can make text bold, italic, or both. You can also use strikethrough and inline code.
Lists
Unordered List
- First item
- Second item
- Nested item 1
- Nested item 2
- Third item with
code
Ordered List
- First step
- Second step
- Sub-step A
- Sub-step B
- Third step
Code Blocks
Here’s a JavaScript code block:
function greeting(name) {
return `Hello, ${name}!`;
}
// Using async/await
async function fetchData() {
try {
const response = await fetch('https://api.example.com/data');
const data = await response.json();
console.log(data);
} catch (error) {
console.error('Error:', error);
}
}
And some Python:
def fibonacci(n):
if n <= 1:
return n
return fibonacci(n-1) + fibonacci(n-2)
# List comprehension example
squares = [x**2 for x in range(10)]
Blockquotes
This is a blockquote. It can contain multiple lines and even other elements.
- Like lists
- And code:
console.log('hello')Nested quotes:
This is a nested blockquote
And another level deeper
Tables
| Feature | Description | Support |
|---|---|---|
| Tables | Organized data | ✅ |
| Code blocks | Syntax highlighting | ✅ |
| Lists | Ordered and unordered | ✅ |
Links and Images
Visit OpenAI or check out this internal link.
Here’s how an image would look:
Task Lists
- [x] Write test article
- [x] Include code blocks
- [ ] Style everything perfectly
- [ ] Test all edge cases
Custom HTML
Math Equations
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}]
Horizontal Rules
Above this line
Below this line
Footnotes
Here’s a sentence with a footnote[^1].
[^1]: This is the footnote content.
Definition Lists
Term 1 : Definition 1 : Another definition
Term 2 : Definition 2
Conclusion
This article demonstrates various Markdown features that we can style in our blog. Each element should be properly styled to maintain our retro terminal aesthetic while ensuring readability.