Obsidian is a markdown viewer. It has a lot of nice features like graph view and things. To read the official markdown cheat-sheet, go here.

Obsidian Markdown Cheat Sheet

Properties

This is used to assign properties to your md document, and obsidian uses these to sort by tags etc.

Needs to be the first thing in your document.

---
tags: 
- documentation
- cheatsheet 
---

You can also add aliases and cssclasses, I don’t know what those are for:

---
tags:
Ā  - documentation
Ā  - cheatsheet
aliases:
cssclasses:
---

Inside of the Obsidian app, you can also add these in an other way:

  1. Click the 3 dots inside your document.
  2. Click + Add file property
  3. Now it’s opened at the top of your document.
[[Page Title]] 
[[Page Title|Custom Link Text]]
[[^Backlink Title]]

Tags

#tag

Embedding Images and Files

![Alt text](obsidian://vault/path/to/file)

Transclusion

![[Embed File]]

Folded Text

<details> 
<summary>Click to expand</summary>  
 
Content goes here.  
 
</details>

Footnotes

Some text[^1].  
 
[^1]: Footnote content.

Mermaid Diagrams

	```mermaid 
	graph LR   
	A --> B   
	B --> C
	B --> D
	C --> D
	```
graph LR   
A --> B   
B --> C
B --> D
C --> D

You can also generate UML with it:

	```mermaid
	erDiagram
	    CUSTOMER {
	        int id PK
	        string name
	        string email
	        string phone
	    }
	    ORDER {
	        int id PK
	        date order_date
	        int customer_id FK
	        float total_amount
	    }
	    ORDER_ITEM {
	        int id PK
	        int order_id FK
	        int product_id FK
	        int quantity
	        float unit_price
	    }
	    PRODUCT {
	        int id PK
	        string name
	        float price
	        int category_id FK
	    }
	    CATEGORY {
	        int id PK
	        string name
	        string description
	    }
	    SUPPLIER {
	        int id PK
	        string name
	        string contact_email
	    }
	    PRODUCT_SUPPLIER {
	        int product_id FK
	        int supplier_id FK
	    }
	
	     Relationships
    CUSTOMER ||--o{ ORDER : "places"
    ORDER ||--|{ ORDER_ITEM : "contains"
    PRODUCT ||--o{ ORDER_ITEM : "is included in"
    CATEGORY ||--|{ PRODUCT : "includes"
    PRODUCT ||--o{ PRODUCT_SUPPLIER : "supplied by"
    SUPPLIER ||--o{ PRODUCT_SUPPLIER : "supplies"

Kanban Boards

pretty sure you need a plugin for this

	```kanban 
	# To Do 
	- Task 1 
	- Task 2  
	
	# In Progress 
	- Task 3 
	
	# Done 
	- Task 4 
	```

Table of Contents

pretty sure you need a plugin for this

[[toc]]

Templates

	```template
	Name:  
	Date: 
	```

These features are specific to Obsidian and may not be supported or have the same syntax in other Markdown editors. Make sure to check Obsidian’s documentation for any updates or additional features.

Search Queries

```query
tag:#documentation OR tag:#article OR tag:#tutorial 
```
tag:#documentation OR tag:#article OR tag:#tutorial 

Quartz hosting

headers

When using Headers, only the following show up in your sidebar Table of Contents menu:

# Biggest header
## medium header
### smaller header

If you add more #ā€˜s, they won’t be shown in the table of contents. And I think only the medium and smaller headers are clickable.

Tags

The example below is only for mentioning tags in your documents. It won’t make your document show up when filtering on the tags.

Tags

#tag
Link to original

If you want your document to be filtered by tags use Properties:

Properties

This is used to assign properties to your md document, and obsidian uses these to sort by tags etc.

Needs to be the first thing in your document.

---
tags: 
- documentation
- cheatsheet 
---

You can also add aliases and cssclasses, I don’t know what those are for:

---
tags:
Ā  - documentation
Ā  - cheatsheet
aliases:
cssclasses:
---

Inside of the Obsidian app, you can also add these in an other way:

  1. Click the 3 dots inside your document.
  2. Click + Add file property
  3. Now it’s opened at the top of your document.
Link to original