Syntax highlighting in markdown
12-07-2024
This tests different languages for syntax highlighting
1#include <iostream> 2#include <SDL2/SDL.h> 3using namespace std; 4 5int main(){ 6cout<<"test program"<<endl; 7return 0; 8} 9
1echo "Hello World" 2
1print("Hello World") 2
Other features to add to this blog
- Add a search bar
- Add a comment section using Github Utterances
- make sure this
code here
works.
special symbol test
&
&>
><
<"
"'
'©
©®
®™
™€
€£
£¥
¥¢
¢§
§¶
¶
Trying out a huge program
1def fibonacci(n): 2 if n <= 1: 3 return n 4 else: 5 return fibonacci(n-1) + fibonacci(n-2) 6 7n = 10 8for i in range(n): 9 print(fibonacci(i)) 10