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

模板片段 #81

Closed
Vanessa219 opened this issue Sep 26, 2020 · 0 comments
Closed

模板片段 #81

Vanessa219 opened this issue Sep 26, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@Vanessa219
Copy link
Member

Vanessa219 commented Sep 26, 2020

机制

  • 名为 templates 的文件夹下的文档都将被视作模板
  • 使用 Go 语言模板实现
  • 通过 {{ 触发模板调用

变量和操作

使用 https://github.com/Masterminds/sprig 内置的。

@88250 88250 added the Feature label Oct 5, 2020
@88250 88250 changed the title 片段 Snippet 模板片段 Snippet Oct 5, 2020
@88250 88250 changed the title 模板片段 Snippet 笔记模板 Nov 11, 2020
@88250 88250 added this to the 0.5.2 milestone Nov 18, 2020
@88250 88250 changed the title 笔记模板 模板 Nov 19, 2020
@88250 88250 pinned this issue Nov 24, 2020
88250 added a commit to siyuan-note/appearance that referenced this issue Dec 3, 2020
88250 added a commit to siyuan-note/appearance that referenced this issue Dec 3, 2020
@88250 88250 changed the title 模板 模板片段 Dec 4, 2020
@88250 88250 closed this as completed Dec 4, 2020
@88250 88250 unpinned this issue Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants