diff --git a/_doc/Manual.md b/_doc/Manual.md index 903be3dd543..12158bfb578 100644 --- a/_doc/Manual.md +++ b/_doc/Manual.md @@ -91,6 +91,16 @@ tags: --- ``` +> Note: `tags` section can also be written as `tags: [Life, Meta]`. + +After [Rake](https://github.com/ruby/rake) is introduced, we can use the command below to simplify the post creation: + +``` +rake post title="Hello 2015" subtitle="Hello World, Hello Blog" +``` + +This command will automatially generate a sample post similar as above under the `_posts/` folder. + There are a bunch of _advanced_ configs: 1. a _text style_ header like [this](https://huangxuan.me/2019/09/08/spacemacs-workflow/) with diff --git a/_doc/README.zh.md b/_doc/README.zh.md index 9528046bf2c..449fe19e0e1 100644 --- a/_doc/README.zh.md +++ b/_doc/README.zh.md @@ -113,6 +113,14 @@ tags: ``` +在引入[Rake](https://github.com/ruby/rake)工具之后,我们可以使用命令: + +``` +rake post title="Hello 2015" subtitle="Hello World, Hello Blog" +``` + +来自动生成上面的文章模板。 + #### SideBar 看右边: