Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Benature/obsidian-metadata-hider
Hide metadata property if its value is empty
https://github.com/Benature/obsidian-metadata-hider
Last synced: about 1 month ago
JSON representation
Hide metadata property if its value is empty
- Host: GitHub
- URL: https://github.com/Benature/obsidian-metadata-hider
- Owner: Benature
- License: mit
- Created: 2023-12-31T11:08:49.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-05-15T08:12:23.000Z (6 months ago)
- Last Synced: 2024-05-15T23:19:43.532Z (6 months ago)
- Language: TypeScript
- Size: 54.7 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Metadata Hider
![Obsidian Downloads](https://img.shields.io/badge/dynamic/json?logo=obsidian&color=%23483699&label=downloads&query=%24%5B%22metadata-hider%22%5D.downloads&url=https%3A%2F%2Fraw.githubusercontent.com%2Fobsidianmd%2Fobsidian-releases%2Fmaster%2Fcommunity-plugin-stats.json) ![GitHub stars](https://img.shields.io/github/stars/Benature/obsidian-metadata-hider?style=flat) ![latest download](https://img.shields.io/github/downloads/Benature/obsidian-metadata-hider/latest/total?style=plastic)
[![Github release](https://img.shields.io/github/manifest-json/v/Benature/obsidian-metadata-hider?color=blue)](https://github.com/Benature/obsidian-metadata-hider/releases/latest) ![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/Benature/obsidian-metadata-hider?include_prereleases&label=BRAT%20beta)
[Click to install](https://obsidian.md/plugins?id=metadata-hider)
- Hide metadata property if its value is empty.
- Keep displaying specific metadata properties even if they are empty.
- Keep hiding specific metadata properties even if they are not empty in properties table / file properties (side dock) / all properties (side dock).
- Show all metadata properties when inputting metadata properties, except specific properties that are set to always hidden.## Usage
Open `Settings` > `Community Plugins` > `Metadata Hider` to set which metadata properties to hide or always show.
## Install
## Install from community plugins
[Click to install](https://obsidian.md/plugins?id=metadata-hider)
### Install by [BRAT Plugin](https://obsidian.md/plugins?id=obsidian42-brat)
- First install [BRAT Plugin](https://obsidian.md/plugins?id=obsidian42-brat):
- In BRAT Plugin, click `Add Beta plugin`
- Enter https://github.com/Benature/obsidian-metadata-hider
- Enable `Metadata Hider` in `Community plugins`### Manually install
- Download latest version in [Releases](https://github.com/Benature/obsidian-metadata-hider/releases/latest)
- Copy over `main.js`, `manifest.json` to your vault `VaultFolder/.obsidian/plugins/metadata-hider/`
- Reload plugins in `Community plugins` and enable `Metadata Hider`## How to build
- `git clone https://github.com/Benature/obsidian-metadata-hider` clone this repo.
- `npm i` install dependencies
- `npm run dev` to start compilation in watch mode.
- `npm run build` to build production.## Support
If you find this plugin useful and would like to support its development, you can sponsor me via [Buy Me a Coffee ☕️](https://www.buymeacoffee.com/benature), WeChat, Alipay or [AiFaDian](https://afdian.net/a/Benature-K). Any amount is welcome, thank you!