Hello, World
This is my first blog post, and it's really just me testing the platform. I'm keeping it around because... why not? It's a nice reference for what I can do here.
Text Styling
I can write in bold, italics, or both. Strikethrough works. So does inline code.
Blockquotes
"The best way to predict the future is to invent it." — Alan Kay
I can nest them too:
First level
Second level
Third level
Lists
Unordered:
- First item
- Second item
- Nested item
- Another nested one
- Back to top level
Ordered:
- Step one
- Step two
- Step three
- Sub-step
- Another sub-step
Code Blocks
Inline code like const x = 42; sits nicely in text.
I can do syntax-highlighted blocks:
javascript
1const express = require('express');
2const app = express();
3
4app.get('/api/posts', async (req, res) => {
5 const posts = await db.query('SELECT * FROM posts');
6 res.json({ success: true, data: posts });
7});
8
9app.listen(3000, () => {
10 console.log('Server running on port 3000');
11});python
1def fibonacci(n):
2 if n <= 1:
3 return n
4 return fibonacci(n - 1) + fibonacci(n - 2)
5
6print([fibonacci(i) for i in range(10)])rust
1fn main() {
2 let greeting = "Hello, World!";
3 println!("{}", greeting);
4}Links
I can link to GitHub or add titles on hover.
Tables
| Language | Year | Typing |
|---|---|---|
| JavaScript | 1995 | Dynamic |
| TypeScript | 2012 | Static |
| Rust | 2010 | Static |
| Python | 1991 | Dynamic |
Horizontal Rules
Three dashes:
Three asterisks:
That's about it. If you're reading this, the blog works. This post stays as proof that I tested things before shipping.