Skip to content
Snippets Groups Projects
Commit a317585d authored by Alexandre Bourget's avatar Alexandre Bourget
Browse files

Fix asciidoc rendering (for h1)

Added -d book to the asciidoc call.
parent 4adf0748
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,8 @@ function compile_page($hash, $page) {
$output = '';
$p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc --no-header-footer -", 'r');
// -d book so we can render H1s
$p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc -d book --no-header-footer -", 'r');
if (!$p) {
return "Unable to compile file: $page ($hash)\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment