From 86a774bb663fa3a3de4c6881cd4946030815d7ae Mon Sep 17 00:00:00 2001 From: pepinno Date: Wed, 16 Feb 2022 02:08:38 +0100 Subject: [PATCH] pandoc script --- pages.old/pwshell-pandoc.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages.old/pwshell-pandoc.txt diff --git a/pages.old/pwshell-pandoc.txt b/pages.old/pwshell-pandoc.txt new file mode 100644 index 0000000..23e7c6e --- /dev/null +++ b/pages.old/pwshell-pandoc.txt @@ -0,0 +1,11 @@ +Database management system + +(gci -r -i *.html).name | foreach{$md=$_.md+"\"+$_.page+".md";pandoc -f markdown -s $_.name -o $rtf} + +gci -r -i *.html | foreach{$md=$_.directoryname+"\"+$_.basename+".md";pandoc -f markdown -s $_.name -o $md} + + +for %F in (*.html) do pandoc %F > %F~n.md + + +Get-ChildItem . -Filter *.html | Foreach-Object { pandoc --from html --to markdown $_ -o $_.Name.Replace('.html', '.md')} \ No newline at end of file