Hello World

This is a post to record some solutions in blog with 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.

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

美化方案

参考:https://jerry011235.github.io/2015/05/06/Hexo%E4%B8%BB%E9%A2%98%E9%85%8D%E7%BD%AE%E4%B8%8E%E4%BC%98%E5%8C%96%EF%BC%88%E4%BA%8C%EF%BC%89/

用css控制Markdown表格列宽

参考: http://blog.echoxu.cn/2018-05-15-Hexo中用CSS控制Markdown各列表格宽度.html

编辑

post样式

参考: 添加文章书写样

置顶文章:

  1. 插件hexo-generator-topindex;
  2. 置顶标注代码:https://blog.csdn.net/qwerty200696/article/details/79010629

添加站内文章链接

  • \{\% post_link post_name_in_source_posts link_show_title \%}
  • [title](/year/month/day/name.md#section)

字体颜色

  • 可以直接在Markdown 文档编辑中使用html语法
    • <font size=4 > 这里输入文字,自定义大小 </font>
    • <font color="#FF0000"> 这里输入文字,自定义颜色的字体 </font>

插入图片

  • 图片大小控制:
    • <div style="width: 200px; margin: auto">![image-caption](image-link)</div>

在Hexo中渲染MathJax数学公式

bugs

  • fatal: multiple stage entries for merged file 'lib/pace'
    • cd .deploy_git
    • rm .git/index
    • git add -A
    • git commit -m ""

迁移

  • 重装hexo、配置依赖
  • Git clone next主题
  • 复制 站点配置 文件和 主题文件夹
  • 复制 source 文件夹
**** END of This Post. Thank for Your READING ****
If you have any Question, welcome to Email me or leave your comments below.