📚ByteGuide
← All articles🇬🇧 English

Test Markdown Article

Testing markdown parsing with code highlighting and various formatting elements

testmarkdowncodeformatting
⏱️ 5 min read

🎯 Introduction

This is a test article to verify markdown parsing and rendering. Let's check if everything works correctly!

💻 Code Examples

JavaScript

Simple JavaScript function:

function greet(name) {
  console.log(`Hello, ${name}!`)
  return `Hello, ${name}!`
}

greet('World')

TypeScript

TypeScript with types:

interface User {
  id: number
  name: string
  email: string
}

function getUserInfo(user: User): string {
  return `${user.name} (${user.email})`
}

const user: User = {
  id: 1,
  name: 'John Doe',
  email: 'john@example.com',
}

console.log(getUserInfo(user))

Python

Python example:

def calculate_sum(numbers):
    """Calculate sum of numbers in list"""
    total = sum(numbers)
    return total

numbers = [1, 2, 3, 4, 5]
result = calculate_sum(numbers)
print(f"Sum: {result}")

📊 Tables

Here's a comparison table:

Feature Markdown HTML JSX
Simplicity ✅ Easy ❌ Complex ⚠️ Medium
Flexibility ⚠️ Limited ✅ Full ✅ Full
Readability ✅ Excellent ❌ Poor ⚠️ Good

📝 Lists

Unordered List

  • First item
  • Second item
    • Nested item 1
    • Nested item 2
  • Third item

Ordered List

  1. Step one
  2. Step two
  3. Step three

Check out ByteGuide documentation for more information.

Inline code example: const variable = 'value'

💡 Blockquote

This is an important note about markdown rendering. It can span multiple lines and looks great in both light and dark themes.

🚀 Conclusion

Markdown works perfectly! All formatting elements are rendered correctly with proper styling.

Key features tested:

  • ✅ Code highlighting
  • ✅ Tables
  • ✅ Lists (ordered & unordered)
  • ✅ Links
  • ✅ Blockquotes
  • ✅ Typography styles
  • ✅ Dark mode compatibility