14 lines
330 B
Fish
14 lines
330 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 \
|
||
|
--css basic.css \
|
||
|
--self-contained \
|
||
|
$file \
|
||
|
> $output
|
||
|
end
|
||
|
|
||
|
podman build -t www.jeffa.io .
|
||
|
podman run -p 8080:8080 www.jeffa.io:latest
|