Back to Blog
December 2, 20241 min read

Code Highlighting Test

Testing syntax highlighting.

Code Examples

TypeScript

interface User {
  id: number;
  name: string;
}
 
const greet = (user: User): string => {
  return `Hello, ${user.name}!`;
};

Python

def fibonacci(n: int) -> int:
    if n <= 1:
        return n
    return fibonacci(n - 1) + fibonacci(n - 2)