From f964582814e31abdb938bf49e30a3934b69e6040 Mon Sep 17 00:00:00 2001 From: leo Date: Sat, 4 Mar 2023 17:28:08 +0100 Subject: [PATCH] switched to rouge --- clone_for_markdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clone_for_markdown.py b/clone_for_markdown.py index f2219ea..cedc6af 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", "-a", "showtitle", "-a", "source-highlighter=highlight.js", "--out-file=-", f"--base-dir={repo_name}", "-"]) +subprocess.run(["asciidoctor", "-s", "-a", "showtitle", "-a", "source-highlighter=rouge", "--out-file=-", f"--base-dir={repo_name}", "-"])