X-Git-Url: http://unremediatedgender.space/source?p=Ultimately_Untrue_Thought.git;a=blobdiff_plain;f=notes%2Fpatriate_links.py;h=3cc6ee7385479f6a0cfffe4d1851efead533d328;hp=1781b75e979c2331c374e0235eb29a691fa3f335;hb=86a4ebdafe6ed89c483bb2f7de263a528de7ae08;hpb=437c2748930f960575b947a7f0b30ac3c6b3e96d diff --git a/notes/patriate_links.py b/notes/patriate_links.py index 1781b75..3cc6ee7 100755 --- a/notes/patriate_links.py +++ b/notes/patriate_links.py @@ -14,6 +14,9 @@ output_file_path = "out.md" markdown_link_pattern = re.compile(r'\]\(/(\d{4}/\w{3}/[-\w]+/)\)') anchor_pattern = re.compile(r'') +# TODO: don't neglect links with #-section +# TODO: don't neglect images + # Read the content of the original markdown file with open(input_file_path, 'r') as file: content = file.read()