Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo new title 命令创建文章时候,title包含()、空格、~、等特殊字符时候会替换成 “-” 符号 #4104

coderhaotf opened this issue Jan 28, 2020 · 1 comment


Copy link

@coderhaotf coderhaotf commented Jan 28, 2020

Check List

Please check followings before submitting a new issue.

  • I have already read Docs page & Troubleshooting page
  • I have already searched existing issues and they are not help to me
  • I examined error or warning messages and it's difficult to solve
  • Using the latest version of Hexo (run hexo version to check)
  • Node.js is higher than 8.6.0

Expected behavior

希望通过hexo new title命令创建相应的title

Actual behavior

How to reproduce?

hexo new "文章系列(一)"
hexo new "文章系列 一 "
hexo new "文章系列 一&*~# "

  • Step1
  • Step2
  • etc...

Environment & Settings

Node.js & npm version

Your site _config.yml (Optional)

Your theme _config.yml (Optional)

Hexo and Plugin version(npm ls --depth 0)

Your package.json package.json



This comment has been minimized.

Copy link

@ahazxm ahazxm commented Feb 15, 2020

try hexo new post "your title" -p "your"

-p, --path: Customize the path of the post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.