Giter VIP home page Giter VIP logo

cooklang-obsidian's Introduction

CookLang Editor Obsidian Plugin

GitHub release (latest SemVer) GitHub All Releases

A plugin for Obsidian adding support for CookLang

Screenshot

Installation

  • This plugin has been submitted community plugins repo. You can install it from Communinty Plugins within Obsidian.
  • You can build and install the plugin manually by checking out the files to <your vault>/.obsidian/plugins/cooklang-obsidian and running npm install and then npm run build.

Security

Third-party plugins can access files on your computer, connect to the internet, and even install additional programs.

The source code of this plugin is available on GitHub for you to audit yourself, but installing plugins into Obsidian is a matter of trust.

I can assure you here that I do nothing to collect your data, send information to the internet or otherwise do anything nefarious with your system. However, be aware that I could, and without auditing the code yourself, you only have my word that I don't.

Roadmap

This is the stuff I would ideally like to include in this plugin that isn't available as yet:

  • Improve editor/preview mode buttons to be more like markdown
  • Command to convert .md to .cook
    • Maybe also cook code block support?
  • Include option for showing quantities inline in the method
    • Option to link between ingredients and method?
  • Include options for showing ingredients list, tools list and time
    • (calculate total time)
  • Unit conversion (metric <-> imperial)
  • Scaling up/down (check spec)
  • Shopping list and .conf file support (needs designing)
  • Better metadata support.
    • Making source links clickable.
    • Support for Obsidian tagging.
  • (Maybe, pending feedback) Markdown formatting support.

Version History

0.3.0

  • Separated out the CookLang parsing code into its own library, and brought it up to date with the latest CookLang spec (so things like named timers are now supported properly)
  • Added more options for displaying timers
  • Added the ability to click on a timer and show a countdown
    • it also optionally plays a sound while the timer is running and when it's finished
    • This feature is still pretty new and probably needs more testing

0.2.0

  • Changed comment syntax according to spec changes

0.1.1

  • Fixed: Turning off inline measurements now actually removes all of them.
  • New: Added commands to add new recipe files.

0.1.0

  • Improve editor/preview mode buttons to be more like markdown views
    • You can even ctrl/cmd click to open in new pane!
  • Include options for showing ingredients list, tools list and time
  • Include option for showing quantities inline in the method

0.0.4

  • Command to convert .md to .cook

0.0.3

  • Fixes an issue preventing preview mode from working if no image is present

0.0.1

Initial release!

  • You can open and edit .cook files
  • There is an edit view with syntax highlighting
  • There is also a preview view which displays the ingredients and amounts at the top like a traditional recipe and numbers the steps.
  • If images are provided (as per the CookLang convention ) they will also be displayed.

cooklang-obsidian's People

Contributors

actions-user avatar deathau 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.