Git Product home page Git Product logo

obsidian-auto-front-matter's People

Contributors

conorzhong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

obsidian-auto-front-matter's Issues

FR: Custom field

What?

  • It would be great if can add custom front matter keys automatically when file changes/ when file save

Why?

My potential use case for the plugin

  • Automatically add lastModifier: Alice when saving a file. In the future, with other plugins like Chronology, I might be able to input the lastModifier name and check the file modification/creation history timeline for a specific modifier.
  • This would be helpful for visualizing collaboration on Obsidian files and being able to see the timeline of modifications made by different authors (lastModifiers).
  • Currently, Chronology uses datetimeUpdate to create the timeline, but it does not have a feature to select the author option. This is just a thought for a "Great to have" feature.

Other note

  • Linter Plugin is able to set custom order of the front matters (this plugin can work perfectly with Linter Plugin)
    in Linter Plugin if you want the order of title, id, datetimeCreate, datetimeUpdate. You can input below to the field (YAML Key Priority Sort Order):
title:
id:
datetimeCreate:
datetimeUpdate:

FR: Auto "Auto Front Matter: Update current front matter" when "Save current file" Hotkey pressed with Cmd+S

is it possible to trigger the "Auto Front Matter: Update current front matter" when the "Save current file" Hotkey is pressed with Cmd+S

or have another boolean attribute for each field, e.g. Update When Save: [ ]

so that the field will perform the action type when CMD+S (save current file)

(the UI and the new feature look (οΎ‰^_^)οΎ‰ so great! Thank you for all the hard work, that is one of my favorite plugging now)

Not updating title

HI I tested your plugin and yes it is updating modification time but not updating title. I even closed and reopened the note and still the title is not updated. Even after running the command to update it manually then also it doesn't update it.
image

More discretionality needed

Hi, I was about to develop a similar plugin when I encountered yours. In order to be more useful, I would consider the following changes:

  • if the front matter is created on an existing note, datetimeCreate should be the ctime of the file
  • user should be able to decide which property to set
  • tag names should be configurable too

Please tell me if it is on the roadmap or I should work on a PR

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.