gitbook-summary icon indicating copy to clipboard operation
gitbook-summary copied to clipboard

hash in frontmatter will go missing in SUMMARY.md

Open garyng opened this issue 8 years ago • 2 comments

It is best illustrated with a picture 😄 image

garyng avatar Jan 22 '17 02:01 garyng

还是根本不是从front matter 提取的? 从 filename?

garyng avatar Jan 22 '17 11:01 garyng

是的,默认是提取文件名,不关注内容。如果要加上front matter的话,需要在读取文件目录之后,根据路径再读取内容,然后做一次判断,把名字替换掉。

imfly avatar Jan 23 '17 00:01 imfly