样式测试

2024/12/11

样式查看

Hugo is a static site generator written in Go. Steve Francia[4] originally created Hugo as an open source project in 2013. Since v0.14 in 2015,[5] Hugo has continued development under the lead of Bjørn Erik Pedersen with other contributors. Hugo is licensed under the Apache License 2.0

正文

重庆的历史始于汉代,当时这一地区被称为“蜀地”,是西汉明帝的故乡之一。随着中国历史的发展,重庆一直是重要的商业和交通枢纽,受到多次征服。清代后来成为陇县的一部分,而现在的重庆则是一个独立的自治区。

图片

Python代码示例:

# This is a comment in Python
# 快速排序
def quicksort(arr):
    if len(arr) <= 1:
        return arr
    pivot = arr[len(arr) // 2]
    left = [x for x in arr if x < pivot]
    middle = [x for x in arr if x == pivot]
    right = [x for x in arr if x > pivot]
    return quicksort(left) + middle + quicksort(right)

# Example usage:
print(quicksort([3,6,8,10,1,2,1]))

Markdown表格示例:

Month Savings
January $250
February $80
March $420

列表

无序


有序

  1. First item
  2. Second item
  3. Third item
  4. Fourth item

换行

First line with two spaces after. And the next line.

First line with the HTML tag after. And the next line.

链接

这是一个链接 Markdown语法https://markdown.com.cn fake@example.com

I love supporting the EFF. This is the Markdown Guide. See the section on code.