switched to rouge

This commit is contained in:
leo 2023-03-04 17:28:08 +01:00
parent 370ab6f45f
commit f964582814
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB

View File

@ -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}", "-"])