Docs and template sets work
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
#template
|
||||
---
|
||||
tags: template
|
||||
type: query
|
||||
order: 100
|
||||
description: |
|
||||
Renders its object value in a `key: value` format
|
||||
usage: |
|
||||
Can be used by passing in a YAML object in a template via `value` or in a `render` clause of a query
|
||||
---
|
||||
{{#each .}}
|
||||
{{@key}}: {{.}}
|
||||
{{/each}}
|
||||
|
||||
---
|
||||
@@ -1,12 +0,0 @@
|
||||
---
|
||||
tags: template
|
||||
description: |
|
||||
Renders its object value in a `key: value` format
|
||||
usage: |
|
||||
Can be used by passing in a YAML object in a template via `value` or in a `render` clause of a query
|
||||
---
|
||||
{{#each .}}
|
||||
{{@key}}: {{.}}
|
||||
{{/each}}
|
||||
|
||||
---
|
||||
@@ -1,4 +1,5 @@
|
||||
* [[{{ref}}|{{ref}}]] {{description}}
|
||||
#template
|
||||
* [[{{ref}}|{{#if displayName}}{{displayName}}{{else}}{{ref}}{{/if}}]] {{description}}
|
||||
{{#if usage}}
|
||||
* **Usage:** {{usage}}
|
||||
{{/if}}
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
tags: template
|
||||
type: live
|
||||
description: Lists all pages with ".conflicted" in the name, created as a result of a synchronization conflict.
|
||||
---
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
tags: template
|
||||
type: live
|
||||
description: |
|
||||
Shows all tasks that reference (tag) the current page. For instance a task that references `[[John]]` in its name, would appear on the `John` page if it would use this [[sets/tasks/incoming]] template.
|
||||
order: 2
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
tags: template
|
||||
type: live
|
||||
description: Queries all tasks tagged with a specific tag.
|
||||
usage: Pass in the tag to filter on as the `value` of this template
|
||||
order: 2
|
||||
@@ -1 +1,8 @@
|
||||
---
|
||||
tags: template
|
||||
type: query
|
||||
order: 1
|
||||
description: A page reference link as a list item
|
||||
---
|
||||
|
||||
* [[{{name}}]]
|
||||
@@ -3,6 +3,7 @@ tags: template
|
||||
type: page
|
||||
displayName: Slash Template
|
||||
pageName: "template/slash/"
|
||||
description: Define a new Slash Template
|
||||
frontmatter:
|
||||
tags: template
|
||||
trigger: "|^|"
|
||||
|
||||
@@ -3,8 +3,9 @@ tags: template
|
||||
type: page
|
||||
displayName: Page Template
|
||||
pageName: "template/page/"
|
||||
description: Define a new Page Template
|
||||
frontmatter:
|
||||
tags: template
|
||||
displayName: "|^|"
|
||||
type: page
|
||||
---
|
||||
|^|
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
tags: template
|
||||
type: slash
|
||||
trigger: "note-admonition"
|
||||
displayName: "/note-admonition"
|
||||
description: Insert a "note" admonition
|
||||
---
|
||||
> **note** Note
|
||||
> |^|
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
tags: template
|
||||
trigger: "table"
|
||||
---
|
||||
| Header A | Header B |
|
||||
|----------|----------|
|
||||
| |^| | Cell B |
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
tags: template
|
||||
type: slash
|
||||
trigger: "warning-admonition"
|
||||
displayName: "/warning-admonition"
|
||||
description: Insert a "warning" admonition
|
||||
---
|
||||
> **warning** Warning
|
||||
> |^|
|
||||
@@ -1,5 +1,6 @@
|
||||
---
|
||||
tags: template
|
||||
type: query
|
||||
description: generic task template that supports updating the status back in the origin page
|
||||
order: 1
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user