Skip to content

Latest commit

 

History

History
412 lines (252 loc) · 15.4 KB

README.md

File metadata and controls

412 lines (252 loc) · 15.4 KB
Dataview Snippets

⭕ Obsidian Snippet Collection ⭕


A collection of dataview scripts which can be utilized within your Obsidian.md notes to perform various tasks and display data.



Version Build Status Downloads Size Last Commit Contributors







About

This repo originally started a single Table of Contents script which displays at the top of your obsidian note. However, numerous other scripts have been added since then.

The snippets in this repo require you to download and install the following:




Snippets

The following snippets are available in this repo


Table of Contents: Version 1

The Table of Contents: Version 1 snippet displays a table of contents. It compiles a list of all your folder's current subpages and pulls the headers from each page to display in a simple and neat list.


For this version, you will need to create a new Folder Note using the Folder Notes Plugin, and then paste the provided code at the top of the new folder note.


This version requires you to install the following:


View






Table of Contents: Version 2

The Table of Contents: Version 2 snippet displays a table of contents. It compiles a list of all your folder's current subpages and pulls the headers from each page to display in a simple and neat list.


To use this snippet, paste the provided table of contents code at the top of a regular Obsidian note. It will fetch all of the headers which exist on that same page and display them in an unordered list at the top.


This version requires you to install the following:


View






Subfolder Data

The Subfolder Data snippet displays a table of contents listing based on a specified subfolder. This is useful if you want to pull a list of headers which exist on a page that is not associated to the current folder you are working in.

The other snippets above also support subpages, but this one is a bit more customized for subfolder management.


This version requires you to install the following:

The following plugins are optional:


View






Bad Links: Version 1

The Bad Links: Version 1 snippet displays a list of internal links within your vault that lead nowhere (are broken).

To fix these, you can delete the link on the associated page, or you can click each item in the list and create a new page. Once the link has been fixed, it will be removed from the list.


This version requires you to install the following:


View






Tag Cloud: Version 1

The Tag Cloud: Version 1 snippet fetches a list of tags associated to your vault and displays them in a series of columns.

Each tag can be clicked on, which will open the Search interface and display all other pages associated to the selected tag.

The functionality of Version 1 and Version 2 are the same. Both just have difference appearances.


This version requires you to install the following:


View






Tag Cloud: Version 2

The Tag Cloud: Version 2 snippet fetches a list of tags associated to your vault and displays them in a series of columns.

Each tag can be clicked on, which will open the Search interface and display all other pages associated to the selected tag.

The functionality of Version 1 and Version 2 are the same. Both just have difference appearances.


This version requires you to install the following:


View






Page Cloud: Version 1

The Page Cloud: Version 1 snippet fetches a list of pages within your vault and displays them in a cloud structure.

Each page can be clicked on which will re-direct you to that particular page. Page titles also support the frontmatter values:

  • name
  • title
  • alias

The functionality of Version 1 and Version 2 are the same. Both just have difference appearances.


This version requires you to install the following:


View






Alphabetized List: Version 1

The Alphabetized List: Version 1 snippet fetches a list of pages within your vault and displays them in a alphabetized list.

Each page can be clicked on which will re-direct you to that particular page. Page titles also support the frontmatter values:

  • name
  • title
  • alias

This version requires you to install the following:


View




Contributors ✨

We are always looking for contributors. If you feel that you can provide something useful to Gistr, then we'd love to review your suggestion. Before submitting your contribution, please review the following resources:


Want to help but can't write code?


The following people have helped get this project going: