mirror of
https://github.com/yv1ing/ezMove.git
synced 2025-09-16 14:51:01 +08:00
13 lines
340 B
Python
13 lines
340 B
Python
from dotenv import load_dotenv
|
|
from markdown import *
|
|
|
|
load_dotenv()
|
|
new_pic_bed = os.getenv('NEW_PIC_BED')
|
|
|
|
if __name__ == '__main__':
|
|
# Fill in the directory of Markdown files waiting to be migrated here
|
|
markdown_files = find_files('')
|
|
|
|
for markdown_file in markdown_files:
|
|
replace_pic_bed(markdown_file, new_pic_bed)
|