arthur.bebou

Le site arthur.bebou.netlib.re - retour accueil

git clone git://bebou.netlib.re/arthur.bebou
Log | Files | Refs |

commit 32c5316bb8db84a3c91ef1c9ab270c911a9f2726
parent 2599427e66eb5e7daa17f998b490fcb3020704fc
Auterice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Mon, 29 Apr 2024 17:31:35 +0200

Ajout layout md pour faire des titre h1

Diffstat:
Alayouts/md | 6++++++
Mpage | 2+-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/layouts/md b/layouts/md @@ -0,0 +1,6 @@ +layout () { +cat <<@@ +# $title +$(the main) +@@ +} diff --git a/page b/page @@ -59,7 +59,7 @@ sed -E 's/^##/ /g;' $the/titles | case "$TARGET" in (html) . layouts/html ;; (term) . layouts/plain ;; - (md) . layouts/plain ;; + (md) . layouts/md ;; (roff) . layouts/plain ;; esac