Heading 1
Heading 2
Heading 3
The title of this blog post is: This is another post and it was written on Aug. 5, 2024.
Here are various Markdown elements for demonstration:
- Ordered List:
- First item
- Second item
- Third item
- Unordered List:
- Apple
- Banana
- Cherry
- Alternative Unordered List:
- Dog
- Cat
- Bird
Blockquote: This is a blockquote. It can span multiple lines and is typically used for quoting text from other sources.
Nested Blockquote:
This is a nested blockquote. It can go deeper if needed.
Inline code
looks like this.
Code Block:
tailwindcss -i input.css -o site/static/css/output.css --watch --config tailwind.config.js
Here's an example of a function-based view in Python for Django:
from django.shortcuts import render, get_object_or_404
from django.http import HttpResponse
from .models import BlogPost
def blog_post_detail(request, post_id):
post = get_object_or_404(BlogPost, id=post_id)
context = {
'post': post,
'title': post.title,
'content': post.content,
'author': post.author,
'published_date': post.published_date,
}
return render(request, 'blog/post_detail.html', context)
Javascript:
function printHello() {
console.log("Hello"); // prints hello to the console..
}
Json:
{
"web-types": "./htmx.web-types.json"
}