Introduction
Introduction Statistics Contact Development Disclaimer Help
saait.1/README: move markdown example to README - saait - the most boring stati…
git clone git://git.codemadness.org/saait
Log
Files
Refs
README
LICENSE
---
commit 75cb5695774224efbcb0babe892c5cde0e363f01
parent 081c3fb57aaf2dd6b6019bc6b270511fa821d1ae
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 21 Feb 2020 13:07:58 +0100
saait.1/README: move markdown example to README
Diffstat:
M README | 28 +++++++++++++++-------------
M saait.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 S…
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
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.