generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3199 from obsidian-tasks-group/docs-collapse-html…
…-samples docs: Collapse some long HTML samples in callouts
- Loading branch information
Showing
4 changed files
with
166 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 77 additions & 0 deletions
77
docs/snippets-embedded-in-multiple-pages/Sample HTML - Full mode.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<!-- snippet: QueryResultsRenderer.test.QueryResultsRenderer_tests_fully_populated_task.approved.html --> | ||
```html | ||
<!-- | ||
- [ ] Do exercises #todo #health 🆔 abcdef ⛔ 123456,abc123 🔼 🔁 every day when done 🏁 delete ➕ 2023-07-01 🛫 2023-07-02 ⏳ 2023-07-03 📅 2023-07-04 ❌ 2023-07-06 ✅ 2023-07-05 ^dcf64c | ||
--> | ||
|
||
<div> | ||
<ul class="contains-task-list plugin-tasks-query-result"> | ||
<li | ||
class="task-list-item plugin-tasks-list-item" | ||
data-task-priority="medium" | ||
data-task-created="past-4d" | ||
data-task-start="past-3d" | ||
data-task-scheduled="past-2d" | ||
data-task-due="past-1d" | ||
data-task-cancelled="future-1d" | ||
data-task-done="today" | ||
data-task="" | ||
data-line="0" | ||
data-task-status-name="Todo" | ||
data-task-status-type="TODO"> | ||
<input class="task-list-item-checkbox" type="checkbox" title="Right-click for options" data-line="0" /> | ||
<span class="tasks-list-text"> | ||
<span class="task-description"><span>Do exercises #todo #health</span></span> | ||
<span class="task-id"><span>🆔 abcdef</span></span> | ||
<span class="task-dependsOn"><span>⛔ 123456,abc123</span></span> | ||
<span class="task-priority" data-task-priority="medium"><span>🔼</span></span> | ||
<span class="task-recurring"><span>🔁 every day when done</span></span> | ||
<span class="task-onCompletion"><span>🏁 delete</span></span> | ||
<span | ||
class="task-created" | ||
data-task-created="past-4d" | ||
title="Click to edit created date, Right-click for more options"> | ||
<span>➕ 2023-07-01</span> | ||
</span> | ||
<span | ||
class="task-start" | ||
data-task-start="past-3d" | ||
title="Click to edit start date, Right-click for more options"> | ||
<span>🛫 2023-07-02</span> | ||
</span> | ||
<span | ||
class="task-scheduled" | ||
data-task-scheduled="past-2d" | ||
title="Click to edit scheduled date, Right-click for more options"> | ||
<span>⏳ 2023-07-03</span> | ||
</span> | ||
<span class="task-due" data-task-due="past-1d" title="Click to edit due date, Right-click for more options"> | ||
<span>📅 2023-07-04</span> | ||
</span> | ||
<span | ||
class="task-cancelled" | ||
data-task-cancelled="future-1d" | ||
title="Click to edit cancelled date, Right-click for more options"> | ||
<span>❌ 2023-07-06</span> | ||
</span> | ||
<span class="task-done" data-task-done="today" title="Click to edit done date, Right-click for more options"> | ||
<span>✅ 2023-07-05</span> | ||
</span> | ||
<span class="task-block-link"><span>^dcf64c</span></span> | ||
</span> | ||
<span class="task-extras"> | ||
<span class="tasks-urgency">18.157</span> | ||
<span class="tasks-backlink"> | ||
( | ||
<a rel="noopener" target="_blank" class="internal-link">fileName > My Header</a> | ||
) | ||
</span> | ||
<a class="tasks-edit" title="Edit task" href="#"></a> | ||
<a class="tasks-postpone" title="ℹ️ Due tomorrow, on Thu 6th Jul (right-click for more options)"></a> | ||
</span> | ||
</li> | ||
</ul> | ||
<div class="task-count">1 task</div> | ||
</div> | ||
``` | ||
<!-- endSnippet --> |
77 changes: 77 additions & 0 deletions
77
docs/snippets-embedded-in-multiple-pages/Sample HTML - Short mode.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<!-- snippet: QueryResultsRenderer.test.QueryResultsRenderer_tests_fully_populated_task_-_short_mode.approved.html --> | ||
```html | ||
<!-- | ||
- [ ] Do exercises #todo #health 🆔 abcdef ⛔ 123456,abc123 🔼 🔁 every day when done 🏁 delete ➕ 2023-07-01 🛫 2023-07-02 ⏳ 2023-07-03 📅 2023-07-04 ❌ 2023-07-06 ✅ 2023-07-05 ^dcf64c | ||
--> | ||
|
||
<div> | ||
<ul class="contains-task-list plugin-tasks-query-result tasks-layout-short-mode"> | ||
<li | ||
class="task-list-item plugin-tasks-list-item" | ||
data-task-priority="medium" | ||
data-task-created="past-4d" | ||
data-task-start="past-3d" | ||
data-task-scheduled="past-2d" | ||
data-task-due="past-1d" | ||
data-task-cancelled="future-1d" | ||
data-task-done="today" | ||
data-task="" | ||
data-line="0" | ||
data-task-status-name="Todo" | ||
data-task-status-type="TODO"> | ||
<input class="task-list-item-checkbox" type="checkbox" title="Right-click for options" data-line="0" /> | ||
<span class="tasks-list-text"> | ||
<span class="task-description"><span>Do exercises #todo #health</span></span> | ||
<span class="task-id"><span>🆔</span></span> | ||
<span class="task-dependsOn"><span>⛔</span></span> | ||
<span class="task-priority" data-task-priority="medium"><span>🔼</span></span> | ||
<span class="task-recurring"><span>🔁</span></span> | ||
<span class="task-onCompletion"><span>🏁</span></span> | ||
<span | ||
class="task-created" | ||
data-task-created="past-4d" | ||
title="Click to edit created date, Right-click for more options"> | ||
<span>➕</span> | ||
</span> | ||
<span | ||
class="task-start" | ||
data-task-start="past-3d" | ||
title="Click to edit start date, Right-click for more options"> | ||
<span>🛫</span> | ||
</span> | ||
<span | ||
class="task-scheduled" | ||
data-task-scheduled="past-2d" | ||
title="Click to edit scheduled date, Right-click for more options"> | ||
<span>⏳</span> | ||
</span> | ||
<span class="task-due" data-task-due="past-1d" title="Click to edit due date, Right-click for more options"> | ||
<span>📅</span> | ||
</span> | ||
<span | ||
class="task-cancelled" | ||
data-task-cancelled="future-1d" | ||
title="Click to edit cancelled date, Right-click for more options"> | ||
<span>❌</span> | ||
</span> | ||
<span class="task-done" data-task-done="today" title="Click to edit done date, Right-click for more options"> | ||
<span>✅</span> | ||
</span> | ||
<span class="task-block-link"><span>^dcf64c</span></span> | ||
</span> | ||
<span class="task-extras"> | ||
<span class="tasks-urgency">18.157</span> | ||
<span class="tasks-backlink"> | ||
<a rel="noopener" target="_blank" class="internal-link internal-link-short-mode">🔗</a> | ||
</span> | ||
<a class="tasks-edit" title="Edit task" href="#"></a> | ||
<a | ||
class="tasks-postpone tasks-postpone-short-mode" | ||
title="ℹ️ Due tomorrow, on Thu 6th Jul (right-click for more options)"></a> | ||
</span> | ||
</li> | ||
</ul> | ||
<div class="task-count">1 task</div> | ||
</div> | ||
``` | ||
<!-- endSnippet --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters