Skip to content

Commit

Permalink
docs: add instructions for creating a draft (#2009)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessemcdowell authored Jul 28, 2023
1 parent 7d9d7ba commit 2e53540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This command is a shortcut that runs the following steps:
$ hexo new [layout] <title>
```

Creates a new article. If no `layout` is provided, Hexo will use the `default_layout` from [_config.yml](configuration.html). If the `title` contains spaces, surround it with quotation marks.
Creates a new article. If no `layout` is provided, Hexo will use the `default_layout` from [_config.yml](configuration.html). Use the layout `draft` to create a draft. If the `title` contains spaces, surround it with quotation marks.

Option | Description
--- | ---
Expand Down

0 comments on commit 2e53540

Please sign in to comment.