Coder Social home page Coder Social logo

aetherinox / obsidian-dataview-snippets Goto Github PK

View Code? Open in Web Editor NEW
78.0 2.0 3.0 49.52 MB

A collection of Obsidian.md scripts which include Tag & Page Clouds, Table of Contents / ToC, Bad / Missing Link reporting, etc.

License: MIT License

JavaScript 100.00%
obsidian obsidian-md obsidian-plugin obsidian-plugins obsidian-snippet obsidian-snippets dataview obsidian-dataview obsidian-community obsidian-notes

obsidian-dataview-snippets's Introduction

⭕ Obsidian Script Collection ⭕


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


Version 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:




Table of Contents






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 these Obsidian snippets, then we'd love to see your work. 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:

Contributors

Aetherinox
Aetherinox

💻 📆 🔍


obsidian-dataview-snippets's People

Contributors

aetherinox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

obsidian-dataview-snippets's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.