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