zs-starter-template/.zs/onthispage

10 lines
110 B
Plaintext
Raw Normal View History

2023-04-01 09:20:11 +03:00
#!/bin/bash
set -eo pipefail
2023-03-30 18:28:08 +03:00
{
echo "**On this page**"
echo
2023-04-01 09:20:11 +03:00
toc -d 2 -s 1 "$ZS_FILE"
2023-03-30 18:28:08 +03:00
} | zs gen