Directive fix
This commit is contained in:
@@ -4,4 +4,4 @@ $disableDirectives: true
|
||||
|
||||
<!-- #query task where tags = "{{.}}" and done = false render [[template/task]] -->
|
||||
|
||||
<!-- /query -->
|
||||
<!-- /query -->
|
||||
@@ -1 +1 @@
|
||||
* [{{#if done}}x{{else}} {{/if}}] [[{{page}}@{{pos}}]] {{name}} {{#if deadline}}📅 {{deadline}}{{/if}} {{#each tags}}{{.}} {{/each}}
|
||||
* [{{#if done}}x{{else}} {{/if}}] [[{{page}}@{{pos}}]] {{name}} {{#if deadline}}📅 {{deadline}}{{/if}} {{#each tags}}#{{.}} {{/each}}
|
||||
@@ -39,13 +39,13 @@ Note that a string is also a valid JSON value:
|
||||
|
||||
* [ ] #test This is a test task
|
||||
|
||||
<!-- #use [[template/tagged-tasks]] "#test" -->
|
||||
<!-- #use [[template/tagged-tasks]] "test" -->
|
||||
* [ ] [[🔌 Directive@1340]] This is a test task #test
|
||||
<!-- /use -->
|
||||
|
||||
which renders as:
|
||||
|
||||
<!-- #use [[template/tagged-tasks]] "#test" -->
|
||||
<!-- #use [[template/tagged-tasks]] "test" -->
|
||||
* [ ] [[🔌 Directive@1537]] This is a test task #test
|
||||
<!-- /use -->
|
||||
|
||||
@@ -73,4 +73,4 @@ Optionally, you can use a `render` clause to render the result as a template, si
|
||||
id: title-unfurl
|
||||
name: Extract title
|
||||
---
|
||||
<!-- /eval -->
|
||||
<!-- /eval -->
|
||||
Reference in New Issue
Block a user