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

增加虚假的目录插件 #901

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

bajie-git
Copy link

使用方式

  1. 通过office在模板中插入目录,然后选中目录并将目录删除,此操作只为了在每个标题埋入书签(插入的目录不删除也可以 但是我发现目录会影响一些插件的渲染例如 动态表格)
  2. 模板中在要生成目录的位置插入字符 $toc$ 然后在模板最后的位置在插入{{toc}}和插件进行绑定(模板最后位置插入{{toc}}进行绑定只是为了让插件最后运行,因为我没有找到控制插件执行顺序的方法)

@HYliangkai
Copy link

如何使用啊,有没有使用示例大佬

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