#
Create a base
Bases let you create database-like views of your notes. Here's how you can create a base and embed it in a note. Every base can have one or more views to display information in different ways.
#
Create a new base
Command palette:
- Open the Command palette.
- Select
- Bases: Create new base to create a base in the same folder as the active file.
- Bases: Insert new base to create a base and embed it in the current file.
File explorer:
- In the File explorer, right-click the folder you want to create the base in.
- Select New base.
Ribbon:
- In the vertical ribbon menu, select Create new base to create a base in the same folder as the active file.
#
Embed a base
#
Embed a base file
You can embed base files in any other file using the ![[File.base]] syntax. To specify the default view use ![[File.base#View]].
#
Embed a base as a code block
Bases can also embedded directly into a note using a base code block and the bases syntax.
```base
filters:
and:
- file.hasTag("example")
views:
- type: table
name: Table
```
See also
Bases syntax
This page provides an introduction to Bases syntax in Obsidian.
Introduction to Bases
Create database-like views of your notes, formatted as tables or cards. Edit, sort, and filter files using their properties.
Style guide
This page explains the style guide for writing our support documentation.