16 lines
329 B
Bash
Executable File
16 lines
329 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for f in bloque1/tema*.md; do
|
|
echo "Probando $f"
|
|
pandoc "$f" -t markdown -o /dev/null 2>error.txt
|
|
if grep -q "YAML" error.txt; then
|
|
echo "❌ ERROR YAML en $f"
|
|
cat error.txt
|
|
exit 1
|
|
else
|
|
echo "✔ OK"
|
|
fi
|
|
done
|
|
|
|
echo "Todos los archivos están bien individualmente."
|