Add alt text as title text... for the single image on my entire site
This commit is contained in:
parent
d47156ebba
commit
ebbd2bef19
6 changed files with 19 additions and 4 deletions
|
@ -7,4 +7,5 @@ find . -name "*.md" | while read -r item; do
|
|||
echo "Currently processing ${item}"
|
||||
pandoc -f markdown-smart --data-dir . --template ${dir}/template.html -t html -o ${item}.html ${item}.md --metadata title="$(grep -m 1 -oP '(?<=^# ).*' ${item}.md | cat)"
|
||||
sed -i s/sourceCode\ /language-/g ${item}.html
|
||||
python3 $dir/regex-chicanery.py ${item}.html
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue