mirror of
https://github.com/sophokles187/data-cards.git
synced 2026-07-22 12:30:26 +00:00
2.1 KiB
2.1 KiB
Getting Started with DataCards
Table of contents
Installation
Requirements
- Obsidian v0.15.0+
- Dataview Plugin
Installation Methods
Method 1: Community Plugins
Note
: DataCards is not yet available in the Community Plugins store. Please use BRAT or manual installation until then.
- Open Obsidian Settings
- Go to Community Plugins
- Click "Browse" and search for "Data Cards"
- Click "Install", then "Enable"
Method 2: BRAT Plugin
- Install the BRAT plugin through Community Plugins
- Open BRAT settings in Obsidian
- Click "Add Beta Plugin"
- Enter the DataCards repository URL:
https://github.com/Sophokles187/data-cards - Click "Add Plugin"
- Enable DataCards in Community Plugins settings
Method 3: Manual Installation
- Download the latest release from the releases page
- Download these files:
main.jsmanifest.jsonstyle.css
- Navigate to your Obsidian vault's
.obsidian/plugins/directory - Create a new folder named
data-cards - Copy the downloaded files into the
data-cardsfolder - Enable the plugin in Obsidian's Community Plugins settings
Basic Usage
Create a datacards code block with a Dataview query:
```datacards
TABLE author, rating, genre FROM #books
SORT rating DESC
This will automatically render the results as cards using the default settings.
## Your First DataCards Block
1. Make sure both Dataview and DataCards plugins are enabled
2. Create a new note or open an existing one
3. Start a new code block with three backticks followed by `datacards`
4. Write a Dataview query
5. End the code block with three backticks
6. Preview your note to see the cards
That's it! Your Dataview results will now display as beautiful cards.