diff --git a/clone_for_markdown.py b/clone_for_markdown.py index 78bdc33..5c55960 100644 --- a/clone_for_markdown.py +++ b/clone_for_markdown.py @@ -35,4 +35,4 @@ if not os.path.isdir(CACHE_FOLDER_PATH): if not os.path.isdir(repo_name): subprocess.run(["git", "clone", repo_path, repo_name], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT) -subprocess.run(["asciidoctor", "-s", "-a", "showtitle", "-a", "source-highlighter=rouge", "-a", "rouge-css=style", "-a", "rouge-style=base16.monokai.dark", "--out-file=-", f"--base-dir={repo_name}", "-"]) +subprocess.run(["asciidoctor", "-s", "--safe-mode", "server", "-a", "showtitle", "-a", "source-highlighter=rouge", "-a", "rouge-css=style", "-a", "rouge-style=base16.monokai.dark", "--out-file=-", f"--base-dir={repo_name}", "-"])