From 14b77385c753ffe69930cb2488cf16880dd510b4 Mon Sep 17 00:00:00 2001
From: SinTan1729 <sayantan.santra689@gmail.com>
Date: Wed, 5 Jul 2023 18:24:14 -0500
Subject: [PATCH] change: Change in formatting

---
 recipe_box.py | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/recipe_box.py b/recipe_box.py
index 0c8a053..f00db59 100755
--- a/recipe_box.py
+++ b/recipe_box.py
@@ -113,20 +113,16 @@ def process_recipe(config, scraper, url, verbose=False):
         if verbose:
             print('Saving {url} -> {path}'.format(url=image_url, path=filepath))
 
-    recipe.write('# {title}\n'.format(title=scraper.title()))
     if filename:
-        recipe.write('![[{filename}]]\n'.format(filename=filename))
+        recipe.write('![{filename}]("/images/recipe/{filename}")\n'.format(filename=filename))
     recipe.write('\n')
-    # This is a placeholder for the user's own notes about the recipe.
-    recipe.write('## Notes\n')
-    recipe.write('\n')
-    recipe.write('## Metadata\n')
+    recipe.write('## Information\n')
     recipe.write('Yields: {yields}\n'.format(yields=scraper.yields()))
     recipe.write('Total Time: {total_time}\n'.format(total_time=scraper.total_time()))
     recipe.write('\n')
     recipe.write('## Ingredients\n')
     for ingredient in scraper.ingredients():
-        recipe.write('* {ingredient}\n'.format(ingredient=ingredient))
+        recipe.write('1. {ingredient}\n'.format(ingredient=ingredient))
 
     recipe.write('\n')
     recipe.write('## Instructions\n')
@@ -138,7 +134,7 @@ def process_recipe(config, scraper, url, verbose=False):
             else:
                 recipe.write('1. {instruction}\n'.format(instruction=instruction))
 
-    recipe.write('\n')
+    recipe.write('\n#### URL\n')
     recipe.write('[{url}]({url})\n'.format(url=url))
     recipe.close()
     # if verbose: