switched to rouge
This commit is contained in:
parent
370ab6f45f
commit
f964582814
@ -35,4 +35,4 @@ if not os.path.isdir(CACHE_FOLDER_PATH):
|
|||||||
|
|
||||||
if not os.path.isdir(repo_name):
|
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(["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}", "-"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user