GithubHelp home page GithubHelp logo

ctavolazzi / obsidian-state-switcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lijyze/obsidian-state-switcher

0.0 1.0 0.0 888 KB

Plugin name already rename to `Yaml Manager`. Keep you away from directly operating yaml front matter.

License: MIT License

JavaScript 6.15% TypeScript 83.21% CSS 10.65%

obsidian-state-switcher's Introduction

Obsidian Yaml Manager

Keey you away from directly operating yaml front matter, so you won't make mistake.

Demo

demo

Usage

  • Update single field
    • select Yaml Manager: key-value update in command palette to update key-value field.
    • select Yaml Manager: key-array insert or Yaml Manager: key-array remove to insert item to key-array field or remove item from key-array field.
    • Select field name and field value in order.
  • Bulk update
    • select Yaml Manager: bulk update in command palette, you will understand the rest.

These command only available in edit mode!!!

You can assign hotkeys to these commands for conviences;

Notice

This plugin only switch value of field which is placed in yaml front matter, if no front matter was founded, it will create one then insert the key-value pair just selected into it.

Working on

  1. Make it support more data structure, such as key-object(still no clue and not sure if it's necessary).

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/obsidian-state-switcher/.

Release

1.3.0

The formation of yaml array is customizable(- item or [item])!

1.2.0

Now you can update multiple fields in one time!

1.1.0

You may need to reset hotkey to call this plugin if you have set ever.

  1. Key-array structure supported
  2. Add return option to sub menu

Donating

Buy Me A Coffee

obsidian-state-switcher's People

Contributors

lijyze avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.