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

Enable icons rendering.

parent ed9d305b
No related branches found
No related tags found
No related merge requests found
...@@ -140,8 +140,9 @@ function compile_page($hash, $page) { ...@@ -140,8 +140,9 @@ function compile_page($hash, $page) {
// keep return the hash // keep return the hash
$fnconf = bring_local_file('asciidoc.conf'); $fnconf = bring_local_file('asciidoc.conf');
// -d book so we can render H1s // -d book, so we can render H1s
$p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc -f \"".$fnconf."\" -d book --no-header-footer - 2>&1", 'r'); // -a icons, enables the display of graphic icons in admonition blocks.
$p = popen("GIT_DIR=".$GIT_REPOS." git-show $hash | asciidoc -a icons -f \"".$fnconf."\" -d book --no-header-footer - 2>&1", 'r');
if (!$p) { if (!$p) {
return "Unable to compile file: $page ($hash)\n"; return "Unable to compile file: $page ($hash)\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment