Hexo memo

Page Link

Hexo memo

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

$ hexo new "My New Post"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

Deploy to remote sites

$ hexo deploy

More info: Deployment

FQA

How to add a favicon

?

How to save image

xcopy

About Math

version:

"hexo-math": "^2.0.1",

install:

npm install hexo-math --save

config:

math:
  engine: 'mathjax' # or 'katex'
  mathjax:
    src: # "//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
    config:
      # MathJax config
  katex:
    css: #custom_css_source
    js: #custom_js_source # not used
    config:
      # KaTeX config
     
Plugins:
  - hexo-math

set your post:

mathjax: true

How to Deploy

npm install hexo-deployer-git --save

GitHubPage

1538146491315

About Images Path

url: http://salesforcexytools.com/maths
root: /maths/

Add share Baidu Share Button

http://share.baidu.com/code

Mathjax

 1. 上标和下标 $a_{1}$ $x^{2}$ $y^{a_{1}}$
 2. 开方 $\sqrt{x}$ $\sqrt[5]{x+1}$
 3. 分数使用 $1\frac{1}{2}$ $\frac{1}{a^{5} + 1}$
 4. 积分 $\sum_{i=1}^{n}$