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
...@@ -114,7 +114,8 @@ function compile_page($hash, $page) { ...@@ -114,7 +114,8 @@ function compile_page($hash, $page) {
$output = ''; $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) { if (!$p) {
return "Unable to compile file: $page ($hash)\n"; return "Unable to compile file: $page ($hash)\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment