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 #3195 from obsidian-tasks-group/explore-accessing-…
…links test: Add some example code to explore accessing links
- Loading branch information
Showing
10 changed files
with
747 additions
and
1 deletion.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
resources/sample_vaults/Tasks-Demo/Test Data/link_in_task_html.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,3 @@ | ||
# link_in_task_html | ||
|
||
- [ ] #task Task in 'link_in_task_html' - see the [Tasks Documentation](https://publish.obsidian.md/tasks/Introduction) |
3 changes: 3 additions & 0 deletions
3
resources/sample_vaults/Tasks-Demo/Test Data/link_in_task_markdown_link.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,3 @@ | ||
# link_in_task_markdown_link | ||
|
||
- [ ] #task Task in 'link_in_task_markdown_link' [jason_properties](jason_properties) [multiple_headings](multiple_headings) |
3 changes: 3 additions & 0 deletions
3
resources/sample_vaults/Tasks-Demo/Test Data/link_in_task_wikilink.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,3 @@ | ||
# link_in_task_wikilink | ||
|
||
- [ ] #task Task in 'link_in_task_wikilink' [[link_in_task_wikilink]] [[multiple_headings]] |
10 changes: 10 additions & 0 deletions
10
resources/sample_vaults/Tasks-Demo/Test Data/links_everywhere.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,10 @@ | ||
--- | ||
link-in-frontmatter: "[[link_in_yaml]]" | ||
--- | ||
# links_everywhere | ||
|
||
A link in the file body: [[link_in_file_body]] | ||
|
||
## A link in a [[link_in_heading]] | ||
|
||
- [ ] #task Task in 'links_everywhere' - a link on the task: [[link_in_task_wikilink]] |
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
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
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,96 @@ | ||
{ | ||
"cachedMetadata": { | ||
"headings": [ | ||
{ | ||
"heading": "link_in_task_html", | ||
"level": 1, | ||
"position": { | ||
"end": { | ||
"col": 19, | ||
"line": 0, | ||
"offset": 19 | ||
}, | ||
"start": { | ||
"col": 0, | ||
"line": 0, | ||
"offset": 0 | ||
} | ||
} | ||
} | ||
], | ||
"listItems": [ | ||
{ | ||
"parent": -2, | ||
"position": { | ||
"end": { | ||
"col": 119, | ||
"line": 2, | ||
"offset": 140 | ||
}, | ||
"start": { | ||
"col": 0, | ||
"line": 2, | ||
"offset": 21 | ||
} | ||
}, | ||
"task": " " | ||
} | ||
], | ||
"sections": [ | ||
{ | ||
"position": { | ||
"end": { | ||
"col": 19, | ||
"line": 0, | ||
"offset": 19 | ||
}, | ||
"start": { | ||
"col": 0, | ||
"line": 0, | ||
"offset": 0 | ||
} | ||
}, | ||
"type": "heading" | ||
}, | ||
{ | ||
"position": { | ||
"end": { | ||
"col": 119, | ||
"line": 2, | ||
"offset": 140 | ||
}, | ||
"start": { | ||
"col": 0, | ||
"line": 2, | ||
"offset": 21 | ||
} | ||
}, | ||
"type": "list" | ||
} | ||
], | ||
"tags": [ | ||
{ | ||
"position": { | ||
"end": { | ||
"col": 11, | ||
"line": 2, | ||
"offset": 32 | ||
}, | ||
"start": { | ||
"col": 6, | ||
"line": 2, | ||
"offset": 27 | ||
} | ||
}, | ||
"tag": "#task" | ||
} | ||
] | ||
}, | ||
"fileContents": "# link_in_task_html\n\n- [ ] #task Task in 'link_in_task_html' - see the [Tasks Documentation](https://publish.obsidian.md/tasks/Introduction)\n", | ||
"filePath": "Test Data/link_in_task_html.md", | ||
"getAllTags": [ | ||
"#task" | ||
], | ||
"obsidianApiVersion": "1.7.7", | ||
"parseFrontMatterTags": null | ||
} |
Oops, something went wrong.