2023-05-19 13:32:14 +00:00
|
|
|
for file in src/**/*.md
|
|
|
|
set -l output (string replace .md .html $file)
|
|
|
|
set -l output (string replace src/ out/ $output)
|
|
|
|
pandoc \
|
|
|
|
--to html \
|
2023-08-17 20:13:44 +00:00
|
|
|
--template templates/page.html \
|
2023-05-19 13:32:14 +00:00
|
|
|
$file \
|
|
|
|
> $output
|
|
|
|
end
|
2023-08-17 20:13:44 +00:00
|
|
|
|
|
|
|
cp basic.css out/
|