我的第一篇文章

这是一级标题(相当于文章大标题)

这是我的第一篇博客文章!记录一下从零搭建网站的过程。

这是二级标题(相当于段落小标题)

在这个博客里,普通的文字直接打出来就行。如果想强调,可以把文字加粗

插入代码块极其方便

如果平时写了一些算法(比如用 Stack 集合写的括号匹配,或者二分查找),可以直接用三个反引号包裹起来,它在网页上会自动加上超好看的代码高亮:

import java.util.Stack;

public class Main {
    public static void main(String[] args) {
        Stack<String> stack = new Stack<>();
        stack.push("Hello Hexo Blog!");
        System.out.println(stack.pop());
    }
}

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment