|
|
|
---
|
|
|
|
|
|
|
|
ChildrenType: ["Note", "Task", "Recipe"]
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
[Forum](https://forum.obsidian.md)
|
|
|
|
|
|
|
|
 
|
|
|
|
 
|
|
|
|
|
|
|
|
|
|
|
|
```button
|
|
|
|
name Create Note
|
|
|
|
type append template
|
|
|
|
action NewFile1
|
|
|
|
color blue
|
|
|
|
templater true
|
|
|
|
```
|
|
|
|
|
|
|
|
const {templaterFunc} = this.app.plugins.plugins["CustomJS"].customJS
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
tp.file.content.replace(/[\w\W]+?\n+?/,"")
|
|
|
|
%>
|
|
|
|
|
|
|
|
const {templaterFunc} = this.app.plugins.plugins["CustomJS"].customJS
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
const {templaterFunc} = this.app.plugins.plugins["CustomJS"].api.customJS
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
const templaterFunc = this.app.plugins.plugins["CustomJS"].api.customJS
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
const templaterFunc = this.app.plugins.plugins["CustomJS"].customJS
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
const {templaterFunc} = this.app.plugins.plugins["CustomJS"].customJS
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
const {templaterFunc} = this.app.plugins.plugins["CustomJS"].api.customJS
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
const {templaterFunc} = this.app.plugins.plugins["CustomJS"].customJS
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
const {templaterFunc} = this.app.plugins.plugins["CustomJS"]
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
tR += const {templaterFunc} = this.app.plugins.plugins["CustomJS"]
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
tR += const {templaterFunc} = this.app.plugins.plugins["customJS"]
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
tR += const {templaterFunc} = this.app.plugins.plugins["customJS"].api
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
tR += const {templaterFunc} = this.app.plugins.plugins["CustomJS"].api
|
|
|
|
templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
tR += const {templaterFunc} = tp.obsidian.plugins.plugins.CustomJS
|
|
|
|
%>
|
|
|
|
<% templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType) %>
|
|
|
|
|
|
|
|
tR += const {templaterFunc} = customJS
|
|
|
|
%>
|
|
|
|
<% templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType) %>
|
|
|
|
|
|
|
|
const templaterFunc = customJS
|
|
|
|
tR += templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
const templaterFunc = tp.obsidian.plugins.plugins.CustomJS
|
|
|
|
tR += templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|
|
|
|
|
|
|
|
const {templaterFunc} = tp.obsidian.plugins.plugins.CustomJS
|
|
|
|
tR += templaterFunc.createNewFile(tp, tp.frontmatter.ChildrenType)
|
|
|
|
%>
|