Giter Site home page Giter Site logo

Comments (4)

seeyouspacecorgi avatar seeyouspacecorgi commented on June 27, 2024

I agree it would be a nice feature and totally doable. I've been researching different ways to implement this and I'm leaning towards using settings to define the language. It seems flexible enough to allow assigning a language to a file or folder.

However I think it depends on how you use the plugin. On one hand a set key in the metadatas (which are rendered) means the recipe can't be integrally in the user's language. On the other, settings could be tedious to set up if all recipes are in the same folder.

Maybe allowing both would be the best compromise ?

from cooklang-obsidian.

savissimo avatar savissimo commented on June 27, 2024

Is it possible to parse the metadata, in order to 1) exclude some from being displayed, and 2) use the value for the rendering?

from cooklang-obsidian.

seeyouspacecorgi avatar seeyouspacecorgi commented on June 27, 2024

Yes it is.
Metadatas are parsed but not rendered by the plugin, I added a few lines to do that in this fork. Any metadata could either be skipped in render or hidden in css.

from cooklang-obsidian.

seeyouspacecorgi avatar seeyouspacecorgi commented on June 27, 2024

The feature has been added with the last merge.

from cooklang-obsidian.

Related Issues (2)

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.