Showing posts with label obsidian. Show all posts
Showing posts with label obsidian. Show all posts

Tuesday, January 2, 2024

how to fix yaml view in obsidian

kept bugging me when I was trying to enter in yaml in plain text but it kept forcing me to use a stupid property entry form.I WANT MY PLAIN TEXT TO BE PLAIN LEAVE IT ALONE!

heres the fix


settings > editor > display heading > properties in document > source option

Thursday, December 28, 2023

Obsidian Dataview Tutorial: The Basics

download the

example vault for dataview queries

they say.


well I did and I found it super confusing because even though there is an edit mode, and a preview mode, Obsidian is too slick at auto hiding and rendering out the codeblocks.

I have no idea what Im looking at most of the time. Is this a real table or is this a dynamically generated block of code?


I feel like im lost in a hall of mirrors.


so I made a super simple example just with one or two things instead of the whole kitchen sink.


Inline metadata

were using inline metadata::

yaml front matter I think only works at the top of your document?? so im just going to avoid messing with it for now.

my db example

make a new file called Inventory.md in your vault

  
    ## Item 1
    - Item:: Item 1
    - Description:: This is item 1
    - Quantity:: 5
    - Location:: Warehouse A

    ## Item 2
    - Item:: Item 2
    - Description:: This is item 2
    - Quantity:: 10
    - Location:: Warehouse B

    ## Item 3
    - Item:: Item 3
    - Description:: This is item 3
    - Quantity:: 3
    - Location:: Warehouse C
  

make a new file called inventory_table.md

  • add this dataview query in the backticks
  

```dataview
TABLE Item, Description, Quantity, Location
FROM "Inventory.md"
SORT Quantity ASC
````