vtt/.slam/hooks/pre_format
gsb 256c8d7090 Replace marked/turndown/purify with ribbit editor
This commit moves all html/markdown editor logic to the ribbit library.

Submodule tracks https://git.evilchi.li/evilchili/ribbit.git.
The dist files in static/ are committed copies; the submodule
provides source access for development.

We use pre_format and pre_build slam hooks to ensure the submodules are
initialized and updated correctly, and to perform the dist file copy.
2026-04-29 00:26:00 +00:00

6 lines
203 B
Bash
Executable File

#!/bin/sh
# Initialize and update git submodules to their latest remote commits.
if [ -f .gitmodules ]; then
git -c protocol.file.allow=always submodule update --init --force --remote --recursive
fi