This commit is contained in:
Miloslav Ciz 2023-11-12 01:41:59 +01:00
parent ff131e2f76
commit 62a042b858
5 changed files with 18 additions and 13 deletions

View file

@ -11,9 +11,11 @@ for f in *.md; do
fname=$(echo "$f" | sed "s/\.md//g")
f2="txt/${fname}.txt"
pandoc -f markdown -t plain $f | iconv -f utf-8 -t ascii//TRANSLIT >> $f2
cat $f | cmark-gfm -e table > __tmp.html && links -html-numbered-links 1 -dump __tmp.html | sed "s/file:\/\/.*less_retarded_wiki\///g" >> $f2
done
rm __tmp.html
echo "making single TXT"
echo "LESS RETARDED WIKI" > lrs.txt