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

目录下同时存在目录和文件时不能正常排序(目录始终在前) #34

Open
stutiredboy opened this issue Aug 19, 2020 · 2 comments

Comments

@stutiredboy
Copy link

举个例子:

01-abc.md
03-directory
02-edf.md

排出来的目录是:

03-directory
01-abc.md
02-edf.md

@stutiredboy
Copy link
Author

#27 类似问题

@imfly
Copy link
Owner

imfly commented Aug 19, 2020

嗯,这种情况的处理方式是这样的,比如:

01-abc.md
03-directory
02-edf.md

修改为:

01-abc/readme.md
03-directory
02-edf/readme.md

排出来的目录是:

01-abc/readme.md
02-edf/readme.md
03-directory

这样的好处是始终通过文件夹来管理目录,方便文章拆分处理。

#27 也是这个情况。

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

No branches or pull requests

2 participants