diff options
| -rwxr-xr-x | src/adoc | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -68,8 +68,17 @@ indent_4_blocks() { tail -n +5 } +runadoc() { + asciidoctor \ + -s \ + -a sectanchors \ + -a idprefix \ + - +} + + cat "$FILENAME" | - plaintext_links | - asciidoctor -s -a sectanchors - | - fix_header_anchor_position | + plaintext_links | + runadoc | + fix_header_anchor_position | indent_4_blocks |
