import argparse from pathlib import Path import mistletoe # ファイルの読み込み def read_file(file_path:str) -> str: with open(file_path, "r", encoding="utf-8") as input_file: return input_file.read() # ファイルへ書き出し def write_file(file_path:str, html_str:str) -> None: with open(file_path, "w", encoding="utf-8") as output_file: output_file.write(html_str) # body タグの中身に変換する def get_body(md_str:str) -> dict: mark