From da5aee0a496601e086046580f9f41fd17f5e0cf3 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Tue, 29 Jun 2021 19:22:25 +0100 Subject: [PATCH] print filename being rendered --- notes2web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/notes2web.py b/notes2web.py index f8d4aa8..e734bb8 100755 --- a/notes2web.py +++ b/notes2web.py @@ -89,6 +89,7 @@ def main(args): print(f"{markdown_files=}") for filename in markdown_files: + print(f"{filename=}") html = pypandoc.convert_file(filename, 'html', extra_args=[f'--template={args.template}']) output_filename = os.path.splitext(re.sub(f"^{args.notes.name}", args.output_dir.name, filename))[0] + '.html' os.makedirs(os.path.dirname(output_filename), exist_ok=True)