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

Does anyone know how to get the default number in SUMMARY.md ? #4

Closed
zq99299 opened this issue Feb 21, 2017 · 1 comment
Closed

Comments

@zq99299
Copy link
Owner

zq99299 commented Feb 21, 2017

有谁知道怎么拿到SUMMARY.md中的默认序号吗?
Does anyone know how to get the default number in SUMMARY.md

我想做一个功能:开启gitbook官方默认主题,生成的序号。
I want to do a function: open the gitbook official default theme, the generated serial number.

  "theme-default": {
       "showLevel": true
    }

我想拿到这个序号,然后匹配到每一页中去,这样一来,每一页的序号就不再是从1 开始了。
I want to get this serial number, and then go to each page, so that the serial number of each page is no longer from the beginning of 1.

这个功能如果能做出来。那么就不需要在写作的时候手动排版序号了
If this function can be done. So you don't need to manually write the serial number in writing

有知道的请告诉我下。
Please let me know if you know.

@zq99299 zq99299 changed the title Does anyone know how to get the default number in SUMMARY.md Does anyone know how to get the default number in SUMMARY.md ? Feb 21, 2017
@zq99299
Copy link
Owner Author

zq99299 commented Mar 6, 2017

V0.3.0 解决

@zq99299 zq99299 closed this as completed Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant