Un traducteur md -> html minimal en awk - retour accueil
git clone git://bebou.netlib.re/katdown
Log | Files | Refs | README |
commit c8965936257573675d47ae169aaa5a45e19c95c0 parent 48a544da6eebfa4accf5757f2b8d1f48a4a44ee1 Auteurice: Graham Marlow <graham@mgmarlow.com> Date: Sat, 2 Mar 2024 10:35:17 -0800 Use docs folder Diffstat:
M | Makefile | | | 9 | +++++++-- |
R | demo.html -> docs/index.html | | | 0 |
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,2 +1,7 @@ -web: - awk -v head=' <link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">' -f awkdown.awk README.md > demo.html +clean: + rm -rf docs + +web: clean + mkdir -p docs + awk -v head=' <link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">' \ + -f awkdown.awk README.md > docs/index.html diff --git a/demo.html b/docs/index.html