mirror of https://github.com/eyhc1/rendercv.git
add PASTETOGRAMMARLY to html filename
This commit is contained in:
parent
7a183bdaf0
commit
34c4fc6ac6
|
@ -965,7 +965,9 @@ def markdown_to_html(markdown_file_path: pathlib.Path) -> pathlib.Path:
|
|||
if not markdown_file_path.is_file():
|
||||
raise FileNotFoundError(f"The file {markdown_file_path} doesn't exist!")
|
||||
|
||||
html_file_path = markdown_file_path.with_suffix(".html")
|
||||
html_file_path = (
|
||||
markdown_file_path.parent / f"{markdown_file_path.name}_PASTETOGRAMMARLY.html"
|
||||
)
|
||||
|
||||
# Convert the markdown file to HTML:
|
||||
html = markdown.markdown(markdown_file_path.read_text(encoding="utf-8"))
|
||||
|
|
Loading…
Reference in New Issue