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

自定义:添加代码块折叠 #1732

Open
yltx opened this issue Jun 16, 2023 · 0 comments
Open

自定义:添加代码块折叠 #1732

yltx opened this issue Jun 16, 2023 · 0 comments

Comments

@yltx
Copy link

yltx commented Jun 16, 2023

我想按照这里的方式添加代码块折叠功能,但该文的版本过于古老,现版本是否有更好的解决方式?如果没有,相关文件应该如何修改?

custom_file_path:
  #head: source/_data/head.njk
  #header: source/_data/header.njk
  #sidebar: source/_data/sidebar.njk
  #postMeta: source/_data/post-meta.njk
  #postBodyStart: source/_data/post-body-start.njk
  #postBodyEnd: source/_data/post-body-end.njk
  footer: source/_data/footer.swig
  #bodyEnd: source/_data/body-end.njk
  #variable: source/_data/variables.styl
  #mixin: source/_data/mixins.styl
  style: source/_data/styles.styl

应该创建哪一个文件?

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