From 0cfdaf75c5a6032c9ad4525e827e84b9d680b081 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Sun, 12 Sep 2021 17:08:55 +0100 Subject: [PATCH] cant add toc, absolutely no markers --- push | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/push b/push index 1cbde11..bced69d 100755 --- a/push +++ b/push @@ -23,11 +23,12 @@ function multipage-fixup() ( # https://github.com/owenh000/asciidoctor-multipage/issues/21 # https://github.com/owenh000/asciidoctor-multipage/issues/22 find "$1" -name '*.html' ! -name 'index.html' | xargs perl -lapi -e ' -s/)/

Table of contents<\/h2>\1/g; +s/)/

Table of contents<\/h2>\1/g; ) # GitHub pages.