saait

Simple static page generator
git clone https://git.sinitax.com/codemadness/saait
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 75cb5695774224efbcb0babe892c5cde0e363f01
parent 081c3fb57aaf2dd6b6019bc6b270511fa821d1ae
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 21 Feb 2020 13:07:58 +0100

saait.1/README: move markdown example to README

Diffstat:
MREADME | 28+++++++++++++++-------------
Msaait.1 | 18------------------
2 files changed, 15 insertions(+), 31 deletions(-)

diff --git a/README b/README @@ -50,6 +50,21 @@ Dependencies: make, xdotool, entr. fi +Using Markdown +-------------- + +A possible method could be to just convert the Markdown to HTML and to run +saait after that as usual. + +In this example it uses smu for the Markdown processor, available at: +https://github.com/Gottox/smu: + + cd pages + for f in *.md; do + smu -n < "$f" > "$(basename "$f" .md).html" + done + + Documentation ------------- @@ -224,19 +239,6 @@ EXAMPLES rsync -av output/ user@somehost:/var/www/htdocs/ - Below is another example to use saait with Markdown: - - A possible method could be to just convert the Markdown to HTML and to - run saait after that as usual. - - In this example it uses smu for the Markdown processor, available at: - https://github.com/Gottox/smu: - - cd pages - for f in *.md; do - smu -n < "$f" > "$(basename "$f" .md).html" - done - TRIVIA The most boring static page generator. diff --git a/saait.1 b/saait.1 @@ -183,24 +183,6 @@ To synchronize files, you can securely transfer them via SSH using rsync: rsync -av output/ user@somehost:/var/www/htdocs/ .Ed .El -.Pp -Below is another example to use -.Nm -with Markdown: -.Pp -A possible method could be to just convert the Markdown to HTML and to -run -.Nm -after that as usual. -.Pp -In this example it uses smu for the Markdown processor, available at: -.Lk https://github.com/Gottox/smu : -.Bd -literal -cd pages -for f in *.md; do - smu -n < "$f" > "$(basename "$f" .md).html" -done -.Ed .Sh TRIVIA The most boring static page generator. .Pp