Commit a5369499 authored by Sabina Köfler's avatar Sabina Köfler
Browse files

Closes #6

parent fbd2a592
Pipeline #1126 passed with stage
in 2 minutes and 22 seconds
......@@ -8,7 +8,6 @@ replace_whitespaces() {
}
# Create array to store all md files for later
# readarray -d '' array < <(find . -iname "*.md" -o -iname "*.mdown" -o -iname "*.markdown")
create_filearray () {
mapfile -d $'\0' files < <(find . -iname "*.md" -print0)
}
......@@ -119,7 +118,7 @@ find ./$pdf_dir -iname "*.md" | while read -r file; do
else
echo -e "File $file not the same as $pdf_path."
fi
echo -e "Continuing with new file creation\n"
echo -e "\nContinuing with new file creation\n"
pandoc -s --toc --template=my.latex -f gfm "$file" --pdf-engine=$option -o "$pdf_path" # could add --variable font-family:sans-serif $variable
echo -e "File created\n"
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment