https://github.com/maradotwebp/obsidian-avatar
An obsidian plugin for displaying an avatar image in front of your notes.
https://github.com/maradotwebp/obsidian-avatar
obsidian obsidian-md obsidian-plugin
Last synced: over 1 year ago
JSON representation
An obsidian plugin for displaying an avatar image in front of your notes.
- Host: GitHub
- URL: https://github.com/maradotwebp/obsidian-avatar
- Owner: maradotwebp
- License: mit
- Created: 2023-03-18T15:51:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-27T18:14:01.000Z (over 1 year ago)
- Last Synced: 2025-03-18T22:27:32.116Z (over 1 year ago)
- Topics: obsidian, obsidian-md, obsidian-plugin
- Language: TypeScript
- Homepage:
- Size: 538 KB
- Stars: 34
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Obsidian Avatar
This plugin provides you with a component that will display a small image with some accompanying text. That's it.

To use, insert the following snippet into your markdown.
````
```avatar
```
````
## Editing the picture / description
**In source mode**, you can edit the codeblock directly:
````
```avatar
image: your-image-here.png
description: This will be displayed as the description!
```
````
**In live preview mode**, click on the image to change it _(then either select one from your vault, or paste in a URL to a picture online)_, or edit the description by clicking on it _(Don't forget to click the button to save your changes!)_

The description editor supports all markdown features of Obsidian.
## More options
The following options are available through the YAML codeblock:
- `image?: string`
- A path or URL to an image. Optional, defaults to a picture of the file path initials.
- `description: string`
- The description displayed next to the image.
- `side?: "left" | "right"`
- The side on which the avatar will be displayed. Optional, defaults to `"left"`.
- `size?: "small" | "medium" | "large" | number`
- The size of the avatar. May be either `small` (180x180px), `medium` (240x240px), `large` (320x320px), or any custom width as a number. Optional, defaults to `medium`.
## Installation
### Using Obsidian
1. Open Obsidian
2. Open `Settings` -> `Community Plugins`
3. Click on `Turn on Community plugins` if prompted
4. Click on `Browse`, and search for `Avatar`
5. Install & enable the plugin
### Manual installation
1. Download the latest release .zip from the `Releases` section of this Github repository
2. Extract the .zip to your vault's plugin folder: `/.obsidian/plugins`
3. Reload Obsidian