multi-input
This commit is contained in:
parent
5561837122
commit
ceb3de94f0
5 changed files with 39 additions and 31 deletions
9
build.sh
9
build.sh
|
@ -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
3
in.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
info
|
||||
plan
|
||||
index
|
|
@ -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
7
in/info.md
Normal 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
21
in/plan.md
Normal 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
|
||||
:::
|
||||
:::
|
Loading…
Reference in a new issue