summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-15 08:24:41 -0300
committerEuAndreh <eu@euandre.org>2025-04-15 08:24:41 -0300
commitf06bbfb11554dd0c168de6dc9caea3bb79b23b49 (patch)
tree4e49fc31559145296adca71f8d644d2bb7411914
parentsrc/adoc: Add `fix_header_anchor_position()` stage (diff)
downloadadoc-f06bbfb11554dd0c168de6dc9caea3bb79b23b49.tar.gz
adoc-f06bbfb11554dd0c168de6dc9caea3bb79b23b49.tar.xz
src/adoc: Add section anchors globally, always
-rwxr-xr-xsrc/adoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/adoc b/src/adoc
index 468b3aa..f953f01 100755
--- a/src/adoc
+++ b/src/adoc
@@ -69,7 +69,7 @@ indent_4_blocks() {
}
cat "$FILENAME" |
- plaintext_links |
- asciidoctor -s - |
- fix_header_anchor_position |
+ plaintext_links |
+ asciidoctor -s -a sectanchors - |
+ fix_header_anchor_position |
indent_4_blocks