Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/benature/obsidian-metadata-hider

Hide metadata property if its value is empty
https://github.com/benature/obsidian-metadata-hider

Last synced: 3 days ago
JSON representation

Hide metadata property if its value is empty

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!