I made a small Python script to reformat the output .md files.
The reformatting I am doing is the following:
- Removing double new lines, when applicable
- Replacing the
mediafolder location toAttachments - Reformatting the
YAMLto be more compatible withdataview- Converting date time to ISO format, considering timezone.
- Adding tags
- Adding a project name
- Adding breadcrumbs at the top of the note, to link all the notes
- Ensure all the files are
UTF-8when read and write - Rename folders from
mediatoAttachments - Delete empty folders
The re-formatted note looks like:
Here is the Python file: Reformat .md to better suit Obsidian formatting · GitHub
