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

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
# lines to suit your needs.
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('## Information\n')
recipe.write('Yields: {yields}\n'.format(yields=scraper.yields()))