From b8d23d63345d37a2706c363e41d8c857b814d836 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Sat, 18 Jan 2025 17:34:49 +1000 Subject: Use cmark-gfm for PmWiki as well. --- SuckItPm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'SuckItPm') diff --git a/SuckItPm b/SuckItPm index d8ac817..64591c3 100755 --- a/SuckItPm +++ b/SuckItPm @@ -63,7 +63,11 @@ do # -e 's/\{\.urllink.*\}//g' \ # -e 's/\{\.urllink$//g' -echo "

Original page where you can edit it.

" >> PmWiki/${base}/${file}.md +#echo "

Original page where you can edit it.

" >> PmWiki/${base}/${file}.md + echo -e "****\n[Original page](${URL}/${base}/${file}) where you can edit it." >> PmWiki/${base}/${file}.md + +# pandoc -t html -f commonmark_x --self-contained PmWiki/${base}/${file}.md > PmWiki//${base}/${file}.htm + cmark-gfm -t html -e footnotes -e table -e strikethrough PmWiki/${base}/${file}.md > PmWiki//${base}/${file}.body done notYetAnotherWiki.lua -- cgit v1.1