Sample Blog Post with Math and Code
This is a sample blog post demonstrating the various features supported in our blog.
Math Equations
Here’s an inline equation:
And a display equation:
Code Blocks
Here’s a Python code block with syntax highlighting:
def factorial(n: int) -> int:
"""Calculate the factorial of n"""
if n <= 1:
return 1
return n * factorial(n - 1)
# Example usage
print(factorial(5)) # Output: 120
GFM Features
Tables
| Feature | Supported |
|---|---|
| Math | ✓ |
| Code | ✓ |
| Tables | ✓ |
Task Lists
- Add math support
- Add code highlighting
- Add table of contents
- Add more features
Links and References
This post was created using Astro!