Hexo Markdown

Hexo Markdown

2020年12月16日

测试看看对markdown的支持情况。


文本

一级标题

二级标题

三级标题

四级标题

五级标题
六级标题

正常的文本和 加粗的文本 以及 链接
还有 代码块

首字下沉

字下沉主要是用来对字数较多的文章用来标示章节所用的。是一种西文的使用习惯。西方文学尤其是西方小说,不像中国,章节与章节之间中国人使用“回目”来总结每一章的内容,并且对章节进行划分。但是西方文学里面章节的名称往往比较简约,甚至只有一个简单的词汇,因此不足以起到划分章节的作用,因此一些作家在开始新章节的时候,把新章节第一段第一个字的第一个字母用花体写到一般字母的4倍大小,用来标示章节。因此,首字下沉主要是用在小说里面的,用来标记章节的一种排版方式,在西方文学里面用得比较多,中文里面用得较少,不过偶尔也有使用的。

那所以中文看起来好丑啊。

Acrostics are common in medieval literature, where they usually serve to highlight the name of the poet or his patron, or to make a prayer to a saint. They are most frequent in verse works but can also appear in prose. The Middle High German poet Rudolf von Ems for example opens all his great works with an acrostic of his name, and his world chronicle marks the beginning of each age with an acrostic of the key figure (Moses, David, etc.). In chronicles, acrostics are common in German and English but rare in other languages.

So it doesn't look pretty in English, either.

图片

喵

表格

项目 备注
item123 value1 5备注文本
item2 so called value1 备注文本
item other else value1 备注文本234

一般引用

引用一段话

在引用里边使用引用

回到上一级引用

扩展引用

引用带图标和底色

外层引用

内层引用

回到外层

代码

1
$ hexo new "My New Post"
1
console.log('hi there');
1
print('hi there');
1
2
3
4
5
6
7
8
.post:nth-child(even) {text-align:right;}
.post:nth-child(odd) .else {left:660px;}
.post:nth-child(even) .else {right:660px;}
.else p:first-child {color:#999;font-size:12px;margin:80px 0 0 80px;}
.else h3 {font-size:30px;line-height:1.1;margin:10px 100px 0 80px;}
.else h3 a {color:#333;}
.else h3 + p {color:#555;margin:10px 100px 0 80px;font-size:14px;line-height:1.8;}
.here {position:absolute;left:80px;bottom:80px;color:#999;font-size:13px;}
1
2
3
String str = "just let it go.";
+ System.out.println("wake up!");
- System.out.println("hi there");

END