#!/usr/bin/env bash
cat <<-_EOF
<html>
<head>
<title>Конспекты по плюсам</title>
</head>
<body>
_EOF
for page in *.md; do
p=${page%.md}
echo "<a href=\"$p.html\">$p</a><br>"
done
</body>
</html>