4 ms·
I built a powerful programmable recipe website. (WIP) You write recipes in markdown, you can template in variables from javascript using handlebars. Here is a
by richardgill88 6y ago
I built a powerful programmable recipe website. (WIP)
You write recipes in markdown, you can template in variables from javascript using handlebars.
Here is a recipe with a slider, it updates all the amounts in both the ingredients table and inline in the instructions themselves as you move the slider.
https://programmablerecipes.com/recipes/richardgill/bread-ahead-sourdough https://programmablerecipes.com/recipes/richardgill/bread-ah...
- jka 6y agoThis is a nice project, thanks for sharing :) Here are a couple of resources related to quantity scaling and rendering, in case they're of interest and/or useful to you: - https://www.jsward.com/cooking/style.shtml https://www.jsward.com/cooking/style.shtml - "The Metric Kitchen: Style guide for metric recipes" - https://github.com/ben-ng/convert-units https://github.com/ben-ng/convert-units - a nice JavaScrit library for unit conversion and 'best unit' selection
- richardgill88 6y agoThanks for the resources!