Closed maquannene closed 8 years ago
参考下面修改即可 https://github.com/MOxFIVE/hexo-theme-yelee/blob/master/layout/_partial/toc.ejs#L3
- <%- toc(post.content) %>
+ <%- toc(post.content, {list_number: false}) %>
thank a lot
On Feb 25, 2016, at 8:32 PM, MOxFIVE notifications@github.com wrote:
参考下面修改即可 https://github.com/MOxFIVE/hexo-theme-yelee/blob/master/layout/_partial/toc.ejs#L3 https://github.com/MOxFIVE/hexo-theme-yelee/blob/master/layout/_partial/toc.ejs#L3
- <%- toc(post.content) %>
- <%- toc(post.content, {list_number: false}) %> — Reply to this email directly or view it on GitHub https://github.com/MOxFIVE/hexo-theme-yelee/issues/43#issuecomment-188764591.
自动生成目录时,会自动在目录前追加数字编号,我怎么去屏蔽掉这个东西。 因为我本身的 md 就已经写了目录编号,怎么去屏蔽掉这个东西。
谢谢