Archives

Archives

#topic/software/dataview
Guide to develop and execute modular JavaScript in Obsidian - Share & showcase - Obsidian Forum
Guide to develop and execute modular JavaScript in Obsidian - Share & showcase - Obsidian Forum
Whereas Markdown can only be used to produce static content, JavaScript expands the possibilities of Obsidian by enabling dynamic rendering. Its impact on performance is low and it reduces the need for additional plugins to add features. Furthermore, if the code is properly structured into JavaScript functions and externalized into external scripts, it preserves the interoperability of markdown files in case that you wish to migrate away from Obsidian. Indeed, it become unnecessary to go through...
·forum.obsidian.md·
Guide to develop and execute modular JavaScript in Obsidian - Share & showcase - Obsidian Forum
Dataview dateformat function - Help - Obsidian Forum
Dataview dateformat function - Help - Obsidian Forum
That’s really helpful and really far beyond anything I had come close to achieving. My daily notes are in yearly folders and monthly subfolders. For example: journal 2023 01 2023-01-01.md 2023-01-02.md 2023-01-03.md etc 02 03 etc 2022 01 02 03 etc 2021 01 02 03 etc Because of the folder levels, the Extended table view of the date and file stuff returns files only from the month being queried. For today’s daily note it lists all the daily notes for ...
·forum.obsidian.md·
Dataview dateformat function - Help - Obsidian Forum
Creating a tag index table with Dataview?
Creating a tag index table with Dataview?
Maybe I was not very clear about the issue of files and folders: was on how these elements appear in the desired table - lists of files and lists of folders for each tag. But the best way to clarify this is advancing with hypotheses for your table. Table with “folders” and “files” presented as lists: ```dataview TABLE WITHOUT ID (tag + "(" + length(rows.file.link) + ")") AS Tags, (rows.file.folder) AS Folder, (rows.file.link) AS Files FROM "" WHERE file.tags FLATTEN file.tags AS tag GROUP BY...
```dataview TABLE WITHOUT ID (tag + "(" + length(rows.file.link) + ")") AS Tags, (rows.file.folder) AS Folder, (rows.file.link) AS Files FROM "" WHERE file.tags FLATTEN file.tags AS tag GROUP BY tag SORT length(rows.file.link) DESC ```
·forum.obsidian.md·
Creating a tag index table with Dataview?
Adding the right properties automatically
Adding the right properties automatically
Hi @gino_m, Yup as you can see I tested each folder and templates are working. The only case in which they aren’t trigger is when I use my script to move files
<%-* let filetype = await tp.system.suggester(["Auteur", "Contact", "Personnalité"], ["Auteur", "Contact", "Personnalité"], false, "Which template do you want to use?") -%> <%-* if (filetype === "Auteur") { -%> <%-tp.file.include("[[Templatename1]]")-%> <%-* } else if (filetype === "Contact") { -%> <%-tp.file.include("[[Templatename2]]")-%> <%-* } else if (filetype === "Personnalité") { -%> <%-tp.file.include("[[Templatename3]]")-%> <%-* } else { -%> <%-tp.file.include("[[DefaultTemplateName]]")-%> <%-* } -%>
·forum.obsidian.md·
Adding the right properties automatically
Extract highlights from the text and put them at the beginning of the same note - Help - Obsidian Forum
Extract highlights from the text and put them at the beginning of the same note - Help - Obsidian Forum
Where did you try to use that regexmatch() of yours? And does it really have the full content of the file available in file.text? I’ve got two variants which I would consider in a similar use case, and that would be decorated tasks, or inline fields. Both of these would with dataview be easy to gather up a list of at the top of the document without disturbing/rewriting the file itself. Using tasks In minimal theme, and quite a few others, you can insert various different status characters, and...
·forum.obsidian.md·
Extract highlights from the text and put them at the beginning of the same note - Help - Obsidian Forum
How to sync your Mastodon Bookmarks to Obsidian notes (RSS!) - Actions for Obsidian - ActionsDotWork Forum
How to sync your Mastodon Bookmarks to Obsidian notes (RSS!) - Actions for Obsidian - ActionsDotWork Forum
Just a quick tip since I was asked about this on Mastodon a few minutes ago: How can I sync my Mastodon Bookmarks to separate Obsidian notes? There is no “Mastodon-native” RSS feed for your bookmarks, but there is Mastodon Bookmark RSS — connect it with your account, and it’ll give you an RSS link for your bookmarks. Copy the resulting URL. Now, set up a Shortcuts workflow, like so: “Get Items from RSS Feed” action: Pass in the RSS URL. “Repeat with each” action using the RSS items returned ...
·forum.actions.work·
How to sync your Mastodon Bookmarks to Obsidian notes (RSS!) - Actions for Obsidian - ActionsDotWork Forum
Save a webpage in Obsidian
Save a webpage in Obsidian
This is a small shortcut to quickly save an entire web page as an Obsidian Note. Screen is unfortunately in German, but I hope this is useful for the English speakers anyway. Unfortunately this shortcut doesn’t work on the Mac, because the article object doesn’t work on the Mac. I hope that the new Browser Actions from Carlo will help. The “Open Note” command at the end I added because the “Open or focus note” switch has no effect.
·forum.actions.work·
Save a webpage in Obsidian
16 Obsidian Templates For Zettelkasten To Start With - Knowledge management - Obsidian Forum
16 Obsidian Templates For Zettelkasten To Start With - Knowledge management - Obsidian Forum
More than 9 months of personal learning about how to use Obsidian with Zettelkasten. Here is my repository containing templates and scripts for Obsidian to support the Zettelkasten method for note-taking. GitHub Repository If you are not using Zettelkasten you may also benefit from: Obsidian Notes Template - OB_Template Template Hub Share your Zettel note template Great add-ons for Zettelkasten: Obsidian OKRs What are your experiences from using templates? More about the 12 Pri...
·forum.obsidian.md·
16 Obsidian Templates For Zettelkasten To Start With - Knowledge management - Obsidian Forum