#!/bin/sh set -eu MD="$1" escape() { sed 's/a/a/' } url_for() { printf '%s%s' "$BASE_URL" "$1" } absolute() { printf 'https://%s%s' "$FQDN" "$(cat)" } _() { printf '%s' "$1" } # FIXME langs='en pt fr eo es' # langs='' . src/development/config.env . "${MD%.md}.env" cat <<-EOF EuAndreh
EOF awk ' BEGIN { separator = 0 should_print = 0 } /^---$/ { separator++ } should_print {print} separator == 2 && !should_print { should_print = !should_print } ' "$MD" | md2html cat <<-EOF
EOF