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


欢迎使用在线编辑器 Markdown Editor

Markdown是一种简单的文本格式语言,以简单的键盘字符编写文档,转换成html后就能显示复杂的页面效果。

markdown

markdownEditor.cn是一个在线的Markdown文本编辑器

markdownEditor.cn是一个在线的Markdown文本编辑器,基于Vue开源项目mavonEditor开发(Git:MavonEditer),扩展了HTML复制、html文件导出、md文件导出等功能。

开源项目mavonEditor

开源项目mavonEditor依赖markdown-it,相应的继承了markdown-it的各种扩展,如语法高亮、表格(Tables)、删除线(Strikethrough)、下标(subscript)、上标(superscript)、emoji(emoji)等等。

markdownEditor.cn 中的Markdown语法示例

@toc


字符效果

删除线 中划线

粗体 粗体

斜体字 斜体字

粗斜体 粗斜体

上标:X^2^,下标:O2

++下划线++ 会转化为 下划线

==标记== 会转化为 marked

abbr缩写

*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
HTML 规范由 W3C 维护


分割线





标题

一级标题

一级标题

一级标题

二级标题

二级标题

二级标题

三级标题

三级标题

四级标题

四级标题

五级标题
五级标题
六级标题
六级标题

列表

有序列表

  1. 第一件事情
  2. 第二件事情
  3. 第三件工作

无序列表

  • 无序markdown
  • 无序markdown
  • 无序markdown
  • 列表一
  • 列表二
  • 列表三
  • 无序markdown
  • 无序markdown
    • 无序markdown-1
    • 无序markdown-2
    • 无序markdown-3
  • 无序markdown
    • 无序markdown
    • 无序markdown
    • 无序markdown
  • 无序列表
    1. 有序列表
    2. 有序列表
    3. 有序列表

任务列表

  • 已完成任务
  • 未完成任务
    • 下级任务
    • 下级任务
      • 下下级任务
  • 已完成任务
  • 未完成任务

链接及图片

链接

链接带标题

mailto:nobody.test@qq.com

直接链接:

图片描述


代码

代码块

1
2
3

代码段落

1
2
3
4
int main()
{
printf("hello world!");
}

缩进代码块

缩进四个空格,也能实现代码块的公共能

function(){
    //todo something
}

其他非代码内容

Markdown is a simple way to format text that looks great on any device.
It doesn’t do anything fancy like change the font size, color,
or type — just the essentials, using keyboard symbols you already know.

行内代码 code

通过命令npm install markdown-it --save安装 markdown-it


表格(table)

第一排 第二排
1 Cell 2 Cell
1 Cell 2 Cell
第一排 第二排
1 Cell 2 Cell
1 Cell 2 Cell
标题1 标题2 标题3
左对齐 居中 右对齐
—————– —————- ————–

脚注(footnote)

见底部脚注^hello


表情(emoji)

参考网站: https://www.webpagefx.com/tools/emoji-cheat-sheet/

:laughing:

:blush:

:smiley:

:)


$\KaTeX$公式

$$E=mc^2$$

$$x > y$$

我们可以渲染公式例如:$x_i + y_i = z_i$和$\sum_{i=1}^n a_i=0$
我们也可以单行渲染

$$\sum_{i=1}^n a_i=0$$

$$(\sqrt{3x-1}+(1+x)^2)$$

$$\sin(\alpha)^{\theta}=\sum_{i=0}^{n}(x^i + \cos(f))$$

具体可参照katex文档katex支持的函数以及latex文档


布局

::: hljs-left
居左
:::

::: hljs-center
居中
:::

::: hljs-right
居右
:::


定义

术语一

: 定义一

包含有行内标记的术语二

: 定义二

    {一些定义二的文字或代码}

定义二的第三段

引用 Blockquotes

引用单号文本 Blockquotes

引用多行文本
引用多行文本

多级样式

第一级引用格式

第二级引用
第二级引用

第三级

第一级引用


HTM实体符号

18ºC “ ‘
X² Y³ ¾ ¼ × ÷ »

& < > ¥ € ® ± ¶ § ¦ ¯ « ·
© & ¨ ™ ¡ £

结束


i did what I thought was right. And i got murdered for it.And now i’m back.