multi-input

This commit is contained in:
Marc Beninca 2024-02-29 16:11:19 +01:00
parent 5561837122
commit ceb3de94f0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
5 changed files with 39 additions and 31 deletions

View file

@ -2,11 +2,17 @@
FILE="$(realpath "${BASH_SOURCE[0]}")"
ROOT="$(dirname "${FILE}")"
INPUT="${ROOT}/in"
OUTPUT="${ROOT}/out"
rm --force --recursive "${OUTPUT}"
mkdir --parents "${OUTPUT}"
FILES=()
for f in $(cat "${ROOT}/in.txt") ; do
FILES+=("${INPUT}/${f}.md")
done
pandoc \
--verbose \
--standalone \
@ -20,4 +26,5 @@ pandoc \
--write 'revealjs' \
--variable revealjs-url='/sw/revealjs/up' \
--variable slideNumber \
"${ROOT}/index.md"
\
"${FILES[@]}"

3
in.txt Normal file
View file

@ -0,0 +1,3 @@
info
plan
index

View file

@ -1,33 +1,3 @@
---
author: Marc Beninca
date: 2024 / 03
lang: fr-FR
title: Git PPP
subtitle: Possibilités, Porcelaine & Plomberie
---
# Plan {-}
::: {.columns}
::: {.column width="33%"}
* Possibilités
* Outils
* Concepts
:::
::: {.column width="33%"}
* Porcelaine
* Bases
* Local
* Collaborer
:::
::: {.column width="33%"}
* Plomberie
* Basique
* Pointeurs
* Objets
:::
:::
# Possibilités
1. Outils

7
in/info.md Normal file
View file

@ -0,0 +1,7 @@
---
author: Marc Beninca
date: 2024 / 03
lang: fr-FR
title: Git PPP
subtitle: Possibilités, Porcelaine & Plomberie
---

21
in/plan.md Normal file
View file

@ -0,0 +1,21 @@
# Plan {-}
::: {.columns}
::: {.column width="33%"}
* Possibilités
* Outils
* Concepts
:::
::: {.column width="33%"}
* Porcelaine
* Bases
* Local
* Collaborer
:::
::: {.column width="33%"}
* Plomberie
* Basique
* Pointeurs
* Objets
:::
:::