vault backup: 2022-12-17 17:29:16

This commit is contained in:
Bram Adams
2022-12-17 17:29:16 -06:00
parent 98080b64d5
commit f58a68fe37
24 changed files with 251 additions and 109 deletions

2
.gitignore vendored
View File

@@ -4,6 +4,8 @@
# Calendar/* # Calendar/*
# Readwise/* # Readwise/*
# Databases/* # Databases/*
# Databases/CRM/*
# images # images
# *.png # *.png

View File

@@ -41,6 +41,12 @@
"icon": "link-2", "icon": "link-2",
"name": "Luhman: Insert Zettel Link", "name": "Luhman: Insert Zettel Link",
"mode": "any" "mode": "any"
},
{
"id": "quickadd:choice:7d1318ec-92bb-4054-a68b-70da6f584544",
"icon": "copyright",
"name": "QuickAdd: Move Zettel to Private",
"mode": "any"
} }
], ],
"rightRibbon": [], "rightRibbon": [],

View File

@@ -213,7 +213,7 @@
"Condenses multiple blank lines down into one blank line for the text to paste": true "Condenses multiple blank lines down into one blank line for the text to paste": true
} }
}, },
"lintOnSave": false, "lintOnSave": true,
"displayChanged": true, "displayChanged": true,
"foldersToIgnore": [ "foldersToIgnore": [
"Templates" "Templates"

View File

@@ -61,6 +61,13 @@
}, },
"openFile": false, "openFile": false,
"openFileInMode": "default" "openFileInMode": "default"
},
{
"id": "7d1318ec-92bb-4054-a68b-70da6f584544",
"name": "Move Zettel to Private",
"type": "Macro",
"command": true,
"macroId": "fbbceb07-8ccb-4cad-b0a4-7374f77944d9"
} }
], ],
"macros": [ "macros": [
@@ -211,6 +218,20 @@
} }
], ],
"runOnStartup": false "runOnStartup": false
},
{
"name": "Move Zettel to Private",
"id": "fbbceb07-8ccb-4cad-b0a4-7374f77944d9",
"commands": [
{
"name": "move-zettel-to-private",
"type": "UserScript",
"id": "27cd9ce7-9887-4051-a908-3e99c73943a5",
"path": "_scripts/move-zettel-to-private.js",
"settings": {}
}
],
"runOnStartup": false
} }
], ],
"inputPrompt": "single-line", "inputPrompt": "single-line",

View File

@@ -4,6 +4,50 @@
"basename": "README", "basename": "README",
"path": "README.md" "path": "README.md"
}, },
{
"basename": "Screenshot 2022-12-17 17-18-40",
"path": "_tutorial/Attachments/Screenshot 2022-12-17 17-18-40.png"
},
{
"basename": "202212151455",
"path": "202212151455.md"
},
{
"basename": "202212090136",
"path": "202212090136.md"
},
{
"basename": "202212090137",
"path": "202212090137.md"
},
{
"basename": "202212122239",
"path": "202212122239.md"
},
{
"basename": "202212120002",
"path": "202212120002.md"
},
{
"basename": "Resources",
"path": "_PARA/Projects/Test Project/Resources.md"
},
{
"basename": "Resources",
"path": "_PARA/Projects/Test Project 2/Resources.md"
},
{
"basename": "Test Project",
"path": "_PARA/Projects/Test Project/Test Project.md"
},
{
"basename": "Test Project 2",
"path": "_PARA/Projects/Test Project 2/Test Project 2.md"
},
{
"basename": "_PARA",
"path": "_PARA/_PARA.md"
},
{ {
"basename": "CRM", "basename": "CRM",
"path": "Computed/CRM.md" "path": "Computed/CRM.md"
@@ -16,10 +60,6 @@
"basename": "Tasks", "basename": "Tasks",
"path": "Computed/Tasks.md" "path": "Computed/Tasks.md"
}, },
{
"basename": "202212151455",
"path": "202212151455.md"
},
{ {
"basename": "Hotkeys", "basename": "Hotkeys",
"path": "_tutorial/Hotkeys.md" "path": "_tutorial/Hotkeys.md"
@@ -36,10 +76,6 @@
"basename": "Readwise-Example", "basename": "Readwise-Example",
"path": "Readwise-Example/Readwise-Example.md" "path": "Readwise-Example/Readwise-Example.md"
}, },
{
"basename": "202212120002",
"path": "202212120002.md"
},
{ {
"basename": "_tests", "basename": "_tests",
"path": "_tests/_tests.md" "path": "_tests/_tests.md"
@@ -68,14 +104,6 @@
"basename": "_tutorial", "basename": "_tutorial",
"path": "_tutorial/_tutorial.md" "path": "_tutorial/_tutorial.md"
}, },
{
"basename": "Test Project",
"path": "_PARA/Projects/Test Project/Test Project.md"
},
{
"basename": "_PARA",
"path": "_PARA/_PARA.md"
},
{ {
"basename": "Scratchpad", "basename": "Scratchpad",
"path": "Inbox/Scratchpad.md" "path": "Inbox/Scratchpad.md"
@@ -88,10 +116,6 @@
"basename": "Trackers", "basename": "Trackers",
"path": "Computed/Trackers.md" "path": "Computed/Trackers.md"
}, },
{
"basename": "202212090137",
"path": "202212090137.md"
},
{ {
"basename": "2022-12-15-14-50-51", "basename": "2022-12-15-14-50-51",
"path": "Inbox/Computer Capture/2022-12-15-14-50-51.md" "path": "Inbox/Computer Capture/2022-12-15-14-50-51.md"
@@ -132,10 +156,6 @@
"basename": "People", "basename": "People",
"path": "Templates/People.md" "path": "Templates/People.md"
}, },
{
"basename": "202212090136",
"path": "202212090136.md"
},
{ {
"basename": "Computed", "basename": "Computed",
"path": "Computed/Computed.md" "path": "Computed/Computed.md"
@@ -167,38 +187,6 @@
{ {
"basename": "John Doe", "basename": "John Doe",
"path": "Databases/CRM/John Doe.md" "path": "Databases/CRM/John Doe.md"
},
{
"basename": "Quarterly",
"path": "Templates/Quarterly.md"
},
{
"basename": "Recipes",
"path": "Templates/Recipes.md"
},
{
"basename": "Daily",
"path": "Templates/Daily.md"
},
{
"basename": "202212122239",
"path": "202212122239.md"
},
{
"basename": "Templates",
"path": "Templates/Templates.md"
},
{
"basename": "calendar",
"path": "_tutorial/Attachments/calendar.png"
},
{
"basename": "Resources",
"path": "_PARA/Projects/Test Project/Resources.md"
},
{
"basename": "Resources",
"path": "_PARA/Projects/Test Project 2/Resources.md"
} }
], ],
"omittedPaths": [], "omittedPaths": [],

View File

@@ -20,9 +20,7 @@
} }
], ],
"syntax_highlighting": true, "syntax_highlighting": true,
"enabled_templates_hotkeys": [ "enabled_templates_hotkeys": [],
"Templates/Note Refactor Zettelkasten Template.md"
],
"startup_templates": [ "startup_templates": [
"" ""
], ],

View File

@@ -20,6 +20,16 @@
}, },
"pinned": true "pinned": true
} }
},
{
"id": "57260da14369f889",
"type": "leaf",
"state": {
"type": "image",
"state": {
"file": "_tutorial/Attachments/Screenshot 2022-12-17 17-18-40.png"
}
}
} }
] ]
} }
@@ -90,8 +100,7 @@
} }
], ],
"direction": "horizontal", "direction": "horizontal",
"width": 300, "width": 300
"collapsed": true
}, },
"right": { "right": {
"id": "b2837026535a9eaa", "id": "b2837026535a9eaa",
@@ -187,7 +196,9 @@
"switcher:Open quick switcher": true, "switcher:Open quick switcher": true,
"graph:Open graph view": true, "graph:Open graph view": true,
"canvas:Create new canvas": true, "canvas:Create new canvas": true,
"cmdr:QuickAdd: Create New Project": false,
"publish:Publish changes": true, "publish:Publish changes": true,
"cmdr:QuickAdd: Add to Project Kanban": false,
"command-palette:Open command palette": true, "command-palette:Open command palette": true,
"zk-prefixer:Create new unique note": true, "zk-prefixer:Create new unique note": true,
"random-note:Open random note": true, "random-note:Open random note": true,
@@ -195,25 +206,24 @@
"obsidian-excalidraw-plugin:New Excalidraw drawing": false, "obsidian-excalidraw-plugin:New Excalidraw drawing": false,
"periodic-notes:Open today": false, "periodic-notes:Open today": false,
"cmdr:QuickAdd: Add to Project Scratchpad": false, "cmdr:QuickAdd: Add to Project Scratchpad": false,
"cmdr:QuickAdd: Create New Project": false,
"cmdr:QuickAdd: Add to Project Kanban": false,
"cmdr:Linter: Lint the current file": false, "cmdr:Linter: Lint the current file": false,
"cmdr:QuickAdd: Capture Thought": false, "cmdr:QuickAdd: Capture Thought": false,
"cmdr:Luhman: Insert Zettel Link": false, "cmdr:Luhman: Insert Zettel Link": false,
"open-vscode:VSCode": false "open-vscode:VSCode": false,
"cmdr:QuickAdd: Move Zettel to Private": false
} }
}, },
"active": "c102a50492c64997", "active": "fa7779fed8ad75a1",
"lastOpenFiles": [ "lastOpenFiles": [
"Computed/CRM.md", "_tutorial/Attachments/Screenshot 2022-12-17 17-18-40.png",
"Databases/CRM/CRM.md",
"README.md", "README.md",
"Computed/Tasks.md", "_PARA/Projects/rs/rs.md",
"_PARA/Projects/rs/Resources.md",
"_PARA/Projects/rs/Kanban.md",
"_PARA/Projects/rs/Scratchpad.md",
"202212151455.md", "202212151455.md",
"_tutorial/Hotkeys.md", "202212090136.md",
"Computed/To Process.md", "202212090137.md",
"Inbox/Computer Capture/2022-12-11--12-00-00.md", "202212122239.md"
"Readwise-Example/Readwise-Example.md",
"202212120002.md"
] ]
} }

View File

@@ -1,11 +1,11 @@
--- ---
aliases: [Pinecones and Spirals (Phyllotaxis)] aliases: [Pinecones and Spirals (Phyllotaxis)]
tags: [zettel] tags: [zettel]
projects: [] projects: [Test Project 2]
title: Pinecones and Spirals (Phyllotaxis) title: Pinecones and Spirals (Phyllotaxis)
linter-yaml-title-alias: Pinecones and Spirals (Phyllotaxis) linter-yaml-title-alias: Pinecones and Spirals (Phyllotaxis)
date created: Thursday, December 15th 2022, 2:55:21 pm date created: Thursday, December 15th 2022, 2:55:21 pm
date modified: Thursday, December 15th 2022, 2:55:37 pm date modified: Saturday, December 17th 2022, 5:01:32 pm
--- ---
# Pinecones and Spirals (Phyllotaxis) # Pinecones and Spirals (Phyllotaxis)
@@ -31,4 +31,3 @@ date modified: Thursday, December 15th 2022, 2:55:37 pm
Phyllotaxis is a spiral pattern of leaves. Pinecones have these spirals in the Fibonacci sequence. Phyllotaxis is a spiral pattern of leaves. Pinecones have these spirals in the Fibonacci sequence.
Plants have some pretty unique biology, like shoots that can be grown from trees without cutting them down [[202212120002]]. Plants have some pretty unique biology, like shoots that can be grown from trees without cutting them down [[202212120002]].

View File

@@ -1,8 +1,10 @@
--- ---
tags: [readme] aliases: [README]
tags: [readme, zettel]
title: README title: README
date created: Friday, December 9th 2022, 12:24:59 pm date created: Friday, December 9th 2022, 12:24:59 pm
date modified: Wednesday, December 14th 2022, 5:04:46 pm date modified: Saturday, December 17th 2022, 4:46:08 pm
linter-yaml-title-alias: README
--- ---
# README # README
@@ -310,6 +312,8 @@ Obsidian is first and foremost a single player experience. There are ways to eng
Indeed, the best jamming sessions in Obsidian come from the notes that already exist in the vault. We can use random notes to surface and inspire thought, to break exisiting thought patterns and introduce new concepts into our line of thinking. Indeed, the best jamming sessions in Obsidian come from the notes that already exist in the vault. We can use random notes to surface and inspire thought, to break exisiting thought patterns and introduce new concepts into our line of thinking.
The **goal of jamming** is to have no goal. The idea is to have fun, to explore the vault for interesting ideas or concepts to snowball off of later.
Plugins: Plugins:
- Random Note - Random Note
@@ -560,12 +564,46 @@ Another private but universal trait of humans is our relationships to others. Kn
I use my CRM to keep track of important days like birthdays as well as items discussed (adult relationships can go months without speaking). I use my CRM to keep track of important days like birthdays as well as items discussed (adult relationships can go months without speaking).
### Ribbon Commands
![[Screenshot 2022-12-17 17-18-40.png]] - Add a quick thought to Project_Name/Scratchpad. Good for project specific thoughts.
![[Screenshot 2022-12-17 17-18-53.png]] - Create a new task in a project kanban. Good for an open specific project task.
![[Screenshot 2022-12-17 17-18-44.png]] - create a new project with an optional Kanban Board, Resources page, and Scratchpad.
![[Screenshot 2022-12-17 17-18-58.png]] - Lint a file. Can also by triggered with `cmd + s`
![[Screenshot 2022-12-17 17-19-03.png]] - capture a thought to your daily note (if it exists)
![[Screenshot 2022-12-17 17-19-10.png]] - Insert a link to another Zettel using the **Luhmann** plugin
![[Screenshot 2022-12-17 17-19-15.png]] - open daily note
![[Screenshot 2022-12-17 17-19-19.png]] - move a zettelkasten note from the root to the `Private` folder
![[Screenshot 2022-12-17 17-19-24.png]] - Open a map view of all your notes using the **Map View** plugin. Looks for `location: [lat,long]` in frontmatter
![[Screenshot 2022-12-17 17-19-28.png]] - open a new Excalidraw drawing using the **Excalidraw** plugin
![[Screenshot 2022-12-17 17-19-36.png]] - Open active file (and vault) in VSCode
## Tips and Tricks ## Tips and Tricks
### Someday/Maybe Tasks (GTD) ### Someday/Maybe Tasks (GTD)
Since BHOV-2023 is catered towards immediate processes, you may be wondering where to put open goals you have for yourself that aren't immediately trackable; like "learn Italian" or "run a 5k". I personally create a Kanban within my Quarterly note, and in addition to the regular columns (To Do, In Progress, Complete, Waiting On) I have a fourth column called "Someday/Maybe". The reason I put it in my quarterly note is that quarterly review happens infrequently enough (once every three months) that I get to decide if I really want to take on a Someday/Maybe task. In addition, Quarterly planning is a great time to do long term goal planning and come up with concrete steps! Since BHOV-2023 is catered towards immediate processes, you may be wondering where to put open goals you have for yourself that aren't immediately trackable; like "learn Italian" or "run a 5k". I personally create a Kanban within my Quarterly note, and in addition to the regular columns (To Do, In Progress, Complete, Waiting On) I have a fourth column called "Someday/Maybe". The reason I put it in my quarterly note is that quarterly review happens infrequently enough (once every three months) that I get to decide if I really want to take on a Someday/Maybe task. In addition, Quarterly planning is a great time to do long term goal planning and come up with concrete steps!
### How To Search Effectively
Search is a critical component to a well functioning vault. Putting these notes in matters little if you can't find them later. Search can be split into two steps (broadly): the **index step**, and the **query step**.
The index step is where you have the most control. Make sure to populate your notes (especially the Zettels) with tags that you'll remember later. Choose a reasonable and helpful title, and add an alias or two, and split content into helpful headers!
The query step is more out of your hands but you can do things to improve your experience. Know if you are fuzzy searching or searching for exact keywords before you make you make a query. Leverage quotes (\"\") for exact searching, use Omnisearch for fuzzy searches. If you don't like the results you recieve from Omnisearch, try tweaking weights in the settings.
## External Tools ## External Tools
**Bramses' Highly Opinionated Vault 2023** uses *a lot* of external tools and technologies. I firmly believe that each of these technologies plays a significant role in making Obsidian an ecosystem instead of a stand alone application. These tools serve as scouts, fetching information from different places and returning the goods to "home base". That being said, some/most/all have some form of financial component as well as their own learning curves, so I wouldn't be dissapointed if you don't want to use them. That said **Bramses' Highly Opinionated Vault 2023** works a lot better as a holistic system if you do. **Bramses' Highly Opinionated Vault 2023** uses *a lot* of external tools and technologies. I firmly believe that each of these technologies plays a significant role in making Obsidian an ecosystem instead of a stand alone application. These tools serve as scouts, fetching information from different places and returning the goods to "home base". That being said, some/most/all have some form of financial component as well as their own learning curves, so I wouldn't be dissapointed if you don't want to use them. That said **Bramses' Highly Opinionated Vault 2023** works a lot better as a holistic system if you do.
@@ -624,13 +662,13 @@ Great! Now that that's out of the way, we can finally get to running the vault,
2. Download into your local machine using git clone or download zip 2. Download into your local machine using git clone or download zip
3. Open the vault and rename it to whatever you want and open it in Obsidian 3. Open the vault and rename it to whatever you want and open it in Obsidian
4. Before you commit anything to GitHub, make sure you edit `.gitignore` to match what you want to publish. Doing this early will save you headaches down the road if you decide to publish (*part*) of your vault. To do this run the command: `Obsidian Git: edit .gitignore`. You'll already see some commented out options that you might choose to hide from uploading to get hub whether it's private or public. 4. Before you commit anything to GitHub, make sure you edit `.gitignore` to match what you want to publish. Doing this early will save you headaches down the road if you decide to publish (*part*) of your vault. To do this run the command: `Obsidian Git: edit .gitignore`. You'll already see some commented out options that you might choose to hide from uploading to get hub whether it's private or public.
6. Depending on when you clone this repo, you may want to check plugins for updates. In the bottom right corner, the plugin Plugin Update Tracker will alert you if any plugins in BHOV-2023 need to be updated. If the little plug icon has a red X next to it see what plug-ins need to be updated 5. Depending on when you clone this repo, you may want to check plugins for updates. In the bottom right corner, the plugin Plugin Update Tracker will alert you if any plugins in BHOV-2023 need to be updated. If the little plug icon has a red X next to it see what plug-ins need to be updated
7. Open this file (README) and pin it with `ctrl-.` 6. Open this file (README) and pin it with `ctrl-.`
8. From there explore the vault a bit. I would first recommend visiting the starred notes in the bottom left corner. 7. From there explore the vault a bit. I would first recommend visiting the starred notes in the bottom left corner.
9. Then I recommend opening the PARA folder, looking at the projects in the files within. 8. Then I recommend opening the PARA folder, looking at the projects in the files within.
1. Try adding to a project scratch pad by using the quick add add to project scratchpad command 1. Try adding to a project scratch pad by using the quick add add to project scratchpad command
2. Do the same with the project kanban command 2. Do the same with the project kanban command
10. Hit the open today button in the left and ribbon to create a new daily note 9. Hit the open today button in the left and ribbon to create a new daily note
### "Required" Plugins ### "Required" Plugins
@@ -688,7 +726,7 @@ These plugins aren't needed, as some are QoL and others have a steep price tag a
The following is a list of these plugins as well as a one sentence blurb of how I use them in BHOV-2023 and why you may be interested. The following is a list of these plugins as well as a one sentence blurb of how I use them in BHOV-2023 and why you may be interested.
- [Open Vault in VSCode](obsidian://show-plugin?id=open-vscode) - [Open Vault in VSCode](obsidian://show-plugin?id=open-vscode)
- Visual studio code has very powerful support for multiple cursors. These cursors allow for simultaneous editing. This plug-in opens visual studio code to the current note that you were are on in obsidian - Visual studio code has very powerful support for multiple cursors. These cursors allow for simultaneous editing. This plug-in opens visual studio code to the current note that you were are on in obsidian. Also allows for editing of `.js` files found in the `/scripts` directory
- [Map View](obsidian://show-plugin?id=obsidian-map-view) - [Map View](obsidian://show-plugin?id=obsidian-map-view)
- if you put the location tag in your why AML and include latitude and longitude you can see that note on a map view of the entire planet. This gives a new dimension to notetaking allowing you to see the location of where your notes were taken. - if you put the location tag in your why AML and include latitude and longitude you can see that note on a map view of the entire planet. This gives a new dimension to notetaking allowing you to see the location of where your notes were taken.
- [Excalidraw](obsidian://show-plugin?id=obsidian-excalidraw-plugin) - [Excalidraw](obsidian://show-plugin?id=obsidian-excalidraw-plugin)
@@ -737,6 +775,8 @@ The following is a list of these plugins as well as a one sentence blurb of how
- automatically move notes to another folder using a tag - automatically move notes to another folder using a tag
- Minimal Theme Settings - Minimal Theme Settings
- Note Refactor - Note Refactor
- [Frontmatter Links](obsidian://show-plugin?id=frontmatter-links)
- If you have URLs in your frontmatter/sources, this plugin is for you. Gives the ability to click links in YAML and open in the browser
### Migration Guide for Current Obsidian Users ### Migration Guide for Current Obsidian Users
@@ -751,7 +791,6 @@ After following the traditional [installation section above](#installation), the
`todo` `todo`
### After You're Up and Running ### After You're Up and Running
After getting your sea legs for a few days (perhaps a week!) and you feel comfortable with **Bramses' Highly Opinionated Vault 2023** system, it will sadly be time for us to part and for you to forge onwards. You'll be able to safely delete the following files: After getting your sea legs for a few days (perhaps a week!) and you feel comfortable with **Bramses' Highly Opinionated Vault 2023** system, it will sadly be time for us to part and for you to forge onwards. You'll be able to safely delete the following files:
@@ -767,8 +806,6 @@ After getting your sea legs for a few days (perhaps a week!) and you feel comfor
## A Day in the Life - Real World Use ## A Day in the Life - Real World Use
BHOV-2023 is only helpful if you can use it day in/day out as a tool to help you in life. Here's how I would use it in any random day (let's say Tuesday, perhaps): BHOV-2023 is only helpful if you can use it day in/day out as a tool to help you in life. Here's how I would use it in any random day (let's say Tuesday, perhaps):
@@ -778,14 +815,12 @@ BHOV-2023 is only helpful if you can use it day in/day out as a tool to help you
**Evening** - review the notes in Computed/To Process and see what I've read yesterday. Process these notes into Zettelkasten notes. **Evening** - review the notes in Computed/To Process and see what I've read yesterday. Process these notes into Zettelkasten notes.
**Night** - read new content in the reader app (blogs, youtube videos) or my kindle and highlight the things that I like **Night** - read new content in the reader app (blogs, youtube videos) or my kindle and highlight the things that I like
### Special Case: Saturday or Sunday ### Special Case: Saturday or Sunday
Reflection is a critical component to the value of this vault, and so one day a week **must** be carved out to do reflection. This shouldn't take more than thirty minutes or so, but it does need to happen once a week, so choose what works best for you. Reflection is a critical component to the value of this vault, and so one day a week **must** be carved out to do reflection. This shouldn't take more than thirty minutes or so, but it does need to happen once a week, so choose what works best for you.
Reflection is an extension on what happens on a normal evening where I spend more time processing notes and try to do deeper work in consolidating the thought processes that I've had over the week. In BHOV-2023 it's easy to traverse through a whole week and just click between the notes to see what you thought during the different days Reflection is an extension on what happens on a normal evening where I spend more time processing notes and try to do deeper work in consolidating the thought processes that I've had over the week. In BHOV-2023 it's easy to traverse through a whole week and just click between the notes to see what you thought during the different days
## Videos ## Videos
Over the year of 2023, I'll be deep diving into different components of BHOV-2023 as some aspects are better communicated visually. Over the year of 2023, I'll be deep diving into different components of BHOV-2023 as some aspects are better communicated visually.
@@ -802,6 +837,6 @@ If you liked what you read here, please go ahead and give this repo a star. Bett
There is an a lot of knowledge that got lost during the set up of this vault but I tried to be as explicit as possible with every step. As time goes on I will try and update this vault to match the parity of starting from scratch and getting new users going as fast as possible. There is an a lot of knowledge that got lost during the set up of this vault but I tried to be as explicit as possible with every step. As time goes on I will try and update this vault to match the parity of starting from scratch and getting new users going as fast as possible.
[^1]: hello from the future! [^1]: hello from the future!
[^2]: [calendar example](https://github.com/bramses/bramses-highly-opinionated-vault-2023/blob/main/_tutorial/Attachments/calendar.png) [^2]: [calendar example](https://github.com/bramses/bramses-highly-opinionated-vault-2023/blob/main/_tutorial/Attachments/calendar.png)

View File

@@ -1,8 +1,10 @@
--- ---
tags: aliases: [Resources]
tags: []
title: Resources title: Resources
date created: Sunday, December 11th 2022, 1:55:45 am date created: Sunday, December 11th 2022, 1:55:45 am
date modified: Wednesday, December 14th 2022, 3:33:55 pm date modified: Saturday, December 17th 2022, 4:59:55 pm
linter-yaml-title-alias: Resources
--- ---
```dataview ```dataview
@@ -10,3 +12,16 @@ list
where contains(projects, "Test Project 2") where contains(projects, "Test Project 2")
``` ```
>[!info]
> The following code block allows you to "freeze" the Dataview query result above into HTML.
> If you use Obsidian Publish, this will allow you to publish the resource list as it is above.
> I recommend running this, **after** you finish a project and are ready to commit it to _PARA/Archive.
> To use: open command pallette, remove the spaces between < % and *, run "Templater: Replace all templates in Active File", and remove the triple backticks.
```
<%*
const dv = this.app.plugins.plugins["dataview"].api ;
const arr = await dv.queryMarkdown(`LIST where contains(projects, "Test Project 2")`)
tR += arr.value
%>
```

View File

@@ -1,11 +1,27 @@
--- ---
tags: aliases: [Resources]
tags: []
title: Resources title: Resources
date created: Sunday, December 11th 2022, 1:55:37 am date created: Sunday, December 11th 2022, 1:55:37 am
date modified: Wednesday, December 14th 2022, 3:33:55 pm date modified: Saturday, December 17th 2022, 4:59:43 pm
linter-yaml-title-alias: Resources
--- ---
```dataview ```dataview
list list
where contains(projects, "Test Project") where contains(projects, "Test Project")
``` ```
>[!info]
> The following code block allows you to "freeze" the Dataview query result above into HTML.
> If you use Obsidian Publish, this will allow you to publish the resource list as it is above.
> I recommend running this, **after** you finish a project and are ready to commit it to _PARA/Archive.
> To use: open command pallette, remove the spaces between < % and *, run "Templater: Replace all templates in Active File", and remove the triple backticks.
```
<%*
const dv = this.app.plugins.plugins["dataview"].api ;
const arr = await dv.queryMarkdown(`LIST where contains(projects, "Test Project")`)
tR += arr.value
%>
```

View File

@@ -0,0 +1,38 @@
module.exports = async function moveZettel(params) {
const PRIVATE_FOLDER = "Private/";
const Notice = params.obsidian.Notice;
// get active file
const activeFile = params.app.workspace.getActiveFile();
const activeFileName = activeFile.basename;
const activeFileFolder = activeFile.parent.path;
const activeFileExt = activeFile.extension;
if (activeFileFolder === PRIVATE_FOLDER) {
new Notice("File is already in private folder");
return;
}
if (activeFileExt !== "md") {
new Notice("File is not a markdown file");
return;
}
// log active file info
console.log(activeFileFolder);
console.log(activeFileName);
console.log(activeFileExt);
// move file to private folder
await params.app.vault.rename(
activeFile,
`${PRIVATE_FOLDER}${activeFileName}.${activeFileExt}`
);
}

View File

@@ -48,6 +48,20 @@ tags: [projects, ${userInput.replace(/ /g, "-")}]
---\n\n\`\`\`dataview ---\n\n\`\`\`dataview
list list
where contains(projects, "${userInput.replace(/ /g, "-")}") where contains(projects, "${userInput.replace(/ /g, "-")}")
\`\`\`\n\n
>[!info]
> The following code block allows you to "freeze" the Dataview query result above into HTML.
> If you use Obsidian Publish, this will allow you to publish the resource list as it is above.
> I recommend running this, **after** you finish a project and are ready to commit it to _PARA/Archive.
> To use: open command pallette, remove the spaces between < % and *, run "Templater: Replace all templates in Active File", and remove the triple backticks.
\`\`\`
< % *
const dv = this.app.plugins.plugins["dataview"].api ;
const arr = await dv.queryMarkdown(\`LIST where contains(projects, "${userInput}")\`)
tR += arr.value
% >
\`\`\`\n\n` \`\`\`\n\n`
) )
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB