diff --git "a/\346\225\231\347\250\213/\347\244\272\344\276\213\344\273\243\347\240\201/linkfix.py" "b/\346\225\231\347\250\213/\347\244\272\344\276\213\344\273\243\347\240\201/linkfix.py" new file mode 100644 index 00000000..271c8a1a --- /dev/null +++ "b/\346\225\231\347\250\213/\347\244\272\344\276\213\344\273\243\347\240\201/linkfix.py" @@ -0,0 +1,8 @@ +# coding=utf-8 +from os import walk +from os.path import join +for path, _, files in walk('.'): + for file in files: + if not file.endswith('.md'): + with open(join(path, file) + '.md', 'w') as f: + f.write(f"[{file}](./{file} ':include')") \ No newline at end of file