Terminal 4.

个人用使用指南

2024/07/24
loading

高考一年过后,博主的记忆力竟已退化到了今天学明天忘的地步
又因为不忍心删除hexo默认的文章,所以修改成为了给自己看的使用指南!

Hexo博客彻底删除文章教程

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.

基本操作

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

Markdown语法

basic

1
**加粗**

加粗

1
*斜体*

斜体
1
~~划去~~

划去
1
2
3
# 一级标题
## 二级标题
###三级标题

1
2
>引用
>>嵌套引用

引用

嵌套引用

1
2
3
4
5
6
1.
3.
6.
-or*or+
+ [ ] ?
+ [x] !

1.
3.
6.

-

  • [ ] ?
  • [x] !
1
![name](url) 

图片插入

1
`特殊名词`

特殊名词
1
2
3
\```语言
(代码)
\```

这是代码块
1
--- or ***

分割


符号

1
[超链接显示名](超链接地址 "超链接title") 
1
2
3
4
| 左对齐 | 居中对齐 | 右对齐 |
| :----- | :------: | -----: |
| 文本1 | 文本2 | 文本3 |
| 文本4 | 文本5 | 文本6 |
左对齐 居中对齐 右对齐
文本1 文本2 文本3
文本4 文本5 文本6

更复杂的表格请使用HTML<\table>标签

详见:Markdown语法

其他html运用

1
2
3
{% blockquote David Levithan, Wide Awake %}
Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.
{% endblockquote %}

Do not just seek happiness for yourself. Seek happiness for all. Through kindness. Through mercy.

David LevithanWide Awake
1
<font color=CadetBlue>改变字体颜色</font>

改变字体颜色
颜色见:支持的颜色

markmap

1
{% markmap 800px %}` `{% endmarkmap %}

主页摘要设置

1
2
3
摘要显示的内容
<!--more-->
文章显示的内容

也可以使用文章标签abstract:
不过在本主题下,使用abstract标签的话在主页显示摘要和标题会贴在一起
使用<!--more-->会有一定距离
所以大部分情况下使用的是<!--more-->

文章指定

设置sticky:
数字大的在上面

配置教程回顾

LOOKME!

CATALOG
  1. 1. 基本操作
    1. 1.1. Create a new post
    2. 1.2. Run server
    3. 1.3. Generate static files
    4. 1.4. Deploy to remote sites
  2. 2. Markdown语法
    1. 2.1. basic
    2. 2.2. 其他html运用
  3. 3. markmap
  4. 4. 主页摘要设置
  5. 5. 文章指定
  6. 6. 配置教程回顾