zs-starter-template/.zs/onthispage
2023-04-01 17:21:56 +10:00

10 lines
98 B
Bash
Executable File

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