You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
2.5 KiB
92 lines
2.5 KiB
---
|
|
|
|
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)
|
|
%> |