Coder Social home page Coder Social logo

obsidian-frontmatter-generator's People

Contributors

aidenlx avatar chrisgrieser avatar clemens-e avatar edo78 avatar ericaxu avatar fyears avatar gitmurf avatar hananoshikayomaru avatar henrebotha avatar inouetakuya avatar joethei avatar kostapc avatar lishid avatar nicoandmee avatar phibr0 avatar pozdneev avatar reorx avatar taurelas avatar tfthacker avatar timrogers avatar tokuhirom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

nicoandmee

obsidian-frontmatter-generator's Issues

auto run in some folder

I want to auto run this in excalidraw folder so that I can make sure that they will not be published

for auto run, we allow user to auto run in 3 callback (on save, on active file change, on new file created). Then they add a list of folders / files to different callback.

tag should ignore codeblock

Description

now if a tag is inside a codeblock, it is still recognise.

Expected behaviour

it should not be recognise

Solution

This issue happens because we use our own parser to detect tag, this is not a good way. we should think of a better way to retrieve tags from the note.

Multiple condition sets

Great app! I've been looking for a way to sync properties with tags for months and this does it perfectly.

It would be helpful though if there was a way to run multiple conditional statements. In my case I have a conditional set up to check file type and if it's 'Estimate', update tags based on 3 other fields, and set the received date based on date created. Took a bit of tinkering but that works.

{...file.properties?.type === 'Estimate' 
? 
(() => 
{
    const date = new Date(file.stat.ctime);
    const year = date.getFullYear();
    const month = String(date.getMonth() + 1).padStart(2, '0');
    const day = String(date.getDate()).padStart(2, '0');
    const formattedDate = `${year}-${month}-${day}`;
    return {
      tags: [file.properties.status, file.properties.company, file.properties.type],
      received: formattedDate
    };
  }
)
() 
: 
{}}

I also want to update any file with a location field that has no type to an 'Estimate'. Again, was able to achieve this.

Where I'm hitting the wall is combining the two. Ternary operators are new for me and I've had zero luck trying to nest them.

I've actually got six or seven other conditions I'd like to run as well but I'm unclear how I would do that.

Being able to input discrete conditions would be a great feature

Could this be leveraged to solve Kanban feature request - dynamic views

mgmeyers/obsidian-kanban#345

I'm thinking this should be able to solve this. There has to be something that is changed when I drag a card from column/list to another column/list - that can then be used to generate/update Status/Priority or however you define your lists.

Sorry for lame definition, but I saw your post for Projects, which was a possible solution to this. I'm going to use your plugin and see if I can limit it to Kanban folder, and solve this.

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.