Hello World

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

  1. Create a new post

    1
    $ hexo new "My New Post"

    More info: Writing

  2. Run server

    1
    $ hexo server

    More info: Server

  3. Generate static files

    1
    $ hexo generate

    More info: Generating

  4. Deploy to remote sites

    1
    $ hexo deploy

    More info: Deployment

How to write down markdown documents

Using tags

  1. How to use code blocks

    1
    2
    3
    4
    5
    6
    7
    {% codeblock title lang:Cpp %}
    #include <iostream>
    using namespace std;
    int main(){
    cout << "Hello world, C++ " << endl;
    }
    {% endcodeblock %}
    title
    1
    2
    3
    4
    5
    #include <iostream>
    using namespace std;
    int main(){
    cout << "Hello world, C++ " << endl;
    }
  2. youtube tag

    1
    {% youtube -n_xSSkRl-c %}
  3. gist

    1
    {% gist 89a6730c2b1a220c733a7145ec1194ca %}

Markdown cheet sheet

Hexo plugin cheat sheet

Share Comments