fix: Image link

This commit is contained in:
Sayantan Santra 2023-07-05 22:10:04 -05:00
parent 79b71747a5
commit 52bf04e399
Signed by: SinTan1729
GPG Key ID: EB3E68BFBA25C85F
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ def process_recipe(config, scraper, url, verbose=False):
# Make sure to upload the image file inside /images/recipe with the proper name or edit the following # Make sure to upload the image file inside /images/recipe with the proper name or edit the following
# lines to suit your needs. # lines to suit your needs.
if filename: if filename:
recipe.write('![{filename}]("/images/recipe/{filename}")\n'.format(filename=filename)) recipe.write('![{filename}](/images/recipe/{filename})\n'.format(filename=filename))
recipe.write('\n') recipe.write('\n')
recipe.write('## Information\n') recipe.write('## Information\n')
recipe.write('Yields: {yields}\n'.format(yields=scraper.yields())) recipe.write('Yields: {yields}\n'.format(yields=scraper.yields()))