Logseq Cheat Sheet

Last Updated: November 21, 2025

Core Concepts

Outliner-Based
Everything is a block (bullet point) with hierarchy
Daily Notes
Default page for each day (journal-first approach)
Bidirectional Links
[[Page Name]] creates links between pages
Block References
((reference)) embeds specific blocks
Local-First
Files stored as plain text Markdown on your device
Knowledge Graph
Visual network of interconnected notes

Essential Shortcuts

Cmd/Ctrl + K
Quick search (pages and blocks)
Cmd/Ctrl + Shift + K
Command palette
Cmd/Ctrl + G
Open graph view
Cmd/Ctrl + .
Go to today's journal
Enter
Create new block below
Shift + Enter
New line within block
Tab / Shift + Tab
Indent / Outdent block
Cmd/Ctrl + Shift + A
Select all blocks on page
Cmd/Ctrl + Up/Down
Move block up/down

Page & Block Operations

[[Page Name]]
Create or link to page
#tag
Create tag (same as [[tag]] but cleaner)
((
Search and embed block reference
/
Slash command menu (templates, queries, etc.)
/page reference
Embed entire page
/block embed
Embed specific block
Right-click block dot
Copy block reference, delete, etc.
Cmd/Ctrl + Click link
Open link in right sidebar

Task Management

/TODO
Create TODO task checkbox
/DOING
Mark task as in progress
/DONE
Mark task as complete
/LATER
Task for later
/NOW
Mark as current priority
SCHEDULED: <date>
Schedule task for specific date
DEADLINE: <date>
Set task deadline
Cmd/Ctrl + Enter
Toggle task status (TODO → DONE)

Queries (Simple)

{{query (todo now later)}}
Show all TODO/LATER tasks
{{query [[Page Name]]}}
All blocks mentioning page
{{query #tag}}
All blocks with specific tag
{{query (and [[Page1]] [[Page2]])}}
Blocks mentioning both pages
{{query (or #tag1 #tag2)}}
Blocks with either tag
{{query (not [[Page]])}}
Exclude specific page

Advanced Queries

{{query (and (todo todo doing) [[Project]])}}
Incomplete tasks for specific project
{{query (between -7d today)}}
Blocks from last 7 days
{{query (property priority high)}}
Blocks with priority:: high property
Advanced Query (Datalog)
Use :query {} for complex Datalog queries
:inputs [:current-page]
Query references to current page
:collapsed? false
Show all results expanded

Properties & Metadata

property:: value
Add custom property to block
tags:: #tag1, #tag2
Multiple tags as property
alias:: Alternate Name
Create page alias
public:: true
Mark page for publishing
icon:: 📚
Add icon to page
template:: Template Name
Define block as template

Templates

/template
Insert saved template
template:: Meeting Notes
Create template (add property to block)
<%today%>
Insert today's date in template
<%time%>
Insert current time
<%current page%>
Reference to current page

Popular Plugins

Agenda
Calendar view of tasks and scheduled items
Kanban
Board view for tasks
PDF Highlights
Import PDF annotations
Excalidraw
Embed drawings and diagrams
Awesome Links
Enhanced link previews
Tables
Better table editing
Tabs
Multiple tab interface
Full House Templates
Advanced template system

Markdown & Formatting

**bold**
Bold text
*italic*
Italic text
~~strikethrough~~
Strikethrough text
^^highlight^^
Highlight text
`code`
Inline code
```language```
Code block with syntax highlighting
$$LaTeX$$
Math equations

Graph & Navigation

Cmd/Ctrl + G
Open graph view
Graph Settings
Filter by pages, orphans, journals
Linked References
Pages that link to current page
Unlinked References
Pages that mention current page name
Right Sidebar
View multiple pages simultaneously
Breadcrumbs
Show page hierarchy path
💡 Pro Tip: Use namespaces with slashes like [[Project/SubProject]] to organize hierarchically. Master block references (()) to build dynamic dashboards that update automatically as you edit source blocks.
← Back to Data Science & ML | Browse all categories | View all cheat sheets