1028.yml
All checks were successful
发布wordpress文章 / generate_changelog (push) Successful in 8s

This commit is contained in:
298977887 2024-10-29 00:53:42 +08:00
parent 1ae1622fe0
commit dad09b6551

View File

@ -24,7 +24,9 @@ with open('README.md', 'r', encoding='utf-8') as file:
md_content = file.read() # 将变量名设为 md_content
# 将 Markdown 转换为 HTML
new_content = markdown.markdown(md_content)
#new_content = markdown.markdown(md_content)
# 将 Markdown 转换为 HTML并启用表格支持
new_content = markdown.markdown(md_content, extensions=['markdown.extensions.extra'])
# 从 DISTRIB_REVISION.txt 文件中读取固件版本
with open('DISTRIB_REVISION.txt', 'r', encoding='utf-8') as file: