Quick note while I finish the site rewrite.
- This post checks the blog card layout and date rendering.
- It also checks markdown styling for lists, links, and code blocks.
Here is a simple code block for syntax highlighting:
export function greet(name: string) {
return 'Hello, ' + name + '!';
}
console.log(greet('world')); And some extra code snippets:
#include <iostream>
#include <string>
std::string greet(const std::string& name) {
return "Hello, " + name + "!";
}
int main() {
std::cout << greet("world") << std::endl;
return 0;
} def greet(name: str) -> str:
return f"Hello, {name}!"
if __name__ == "__main__":
print(greet("world")) fn greet(name: &str) -> String {
format!("Hello, {}!", name)
}
fn main() {
println!("{}", greet("world"));
}