Hexo writing

Sometimes you don’t want to see the blog in the first time as you haven’t finished it.
In this case, you can use the draft.

Initialize draft and publish

1
2
3
4
$ hexo new draft "draft name"
$ #before publishing, recommend to use Hexo clean
$ # hexo clean
$ hexo publish "draft name"

Other use skills

Add the link
[words](link url)

站内链接 (link within blog)

1
{% post_link blog_name link_name %}

link_name可以不添加,不添加情况下默认提取文章标题

Note:
be careful when you add the article title, what you input through terminal may not the title of real name