12 lines
260 B
Fish
12 lines
260 B
Fish
for file in src/**/*.md
|
|
set -l output (string replace .md .html $file)
|
|
set -l output (string replace src/ out/ $output)
|
|
pandoc \
|
|
--to html \
|
|
--template templates/page.html \
|
|
$file \
|
|
> $output
|
|
end
|
|
|
|
cp basic.css out/
|