fix: # speedwm markdown cut off

This commit is contained in:
speedie 2022-11-12 11:32:31 +01:00
parent 3e00571815
commit 34f2598d8d
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
# speedwm
![image](/docs/preview.png)
## What is speedwm?

View file

@ -53,8 +53,8 @@ ${DOCDIR}/${PREFIX}doc-08 \
${DOCDIR}/${PREFIX}doc-09 | grep -v "!!" > /tmp/${PREFIX}doc
case "$ARG1" in
"-w") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 1) /tmp/${PREFIX}doc > ../readme ;;
"-wmd") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 1) /tmp/${PREFIX}doc | \
"-w") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 0) /tmp/${PREFIX}doc > ../readme ;;
"-wmd") tail -n $(expr $(cat /tmp/${PREFIX}doc | wc -l) "-" 0) /tmp/${PREFIX}doc | \
sed "s|-- speedwm --|# speedwm|g" | \
sed "s|-- What is speedwm? --|## What is speedwm?|g" | \
sed "s|-- Installation --|## Installation|g" | \