zs-starter-template/.zs/onthispage
2023-04-01 16:20:18 +10:00

10 lines
110 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
{
echo "**On this page**"
echo
toc -d 2 -s 1 "$ZS_FILE"
} | zs gen