Put each file inside an HTML5 article tag
This commit is contained in:
parent
85ab0ad8a1
commit
7880e87b64
1 changed files with 6 additions and 1 deletions
|
@ -12,7 +12,12 @@ cat << __EOF__
|
|||
<body>
|
||||
__EOF__
|
||||
shift # Drop the first argument (document title).
|
||||
cmark --to html --nobreaks --unsafe --smart --validate-utf8 $*
|
||||
for i in $(seq 1 $#)
|
||||
do
|
||||
echo '<article>'
|
||||
cmark --to html --nobreaks --unsafe --smart --validate-utf8 $(eval echo \$$i)
|
||||
echo '</article>'
|
||||
done
|
||||
cat << __EOF__
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue