projects
/
Ultimately_Untrue_Thought.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check in
[Ultimately_Untrue_Thought.git]
/
notes
/
patriate_links.py
diff --git
a/notes/patriate_links.py
b/notes/patriate_links.py
index
1781b75
..
3cc6ee7
100755
(executable)
--- 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'<a id="[-\w]+"></a>')
markdown_link_pattern = re.compile(r'\]\(/(\d{4}/\w{3}/[-\w]+/)\)')
anchor_pattern = re.compile(r'<a id="[-\w]+"></a>')
+# 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()
# Read the content of the original markdown file
with open(input_file_path, 'r') as file:
content = file.read()