Added convert-docx2md.ps1, convert-md2docx.ps1, and convert-md2pdf.ps1

This commit is contained in:
Markus Fleschutz 2023-01-23 14:31:25 +01:00
parent 34d6adef57
commit 7644f4e6d9
3 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
gci -r -i *.docx |foreach{$md=$_.directoryname+"\"+$_.basename+".md";pandoc -f docx -s $_.name -o $md}

View File

@ -0,0 +1 @@
gci -r -i *.md |foreach{$docx=$_.directoryname+"\"+$_.basename+".docx";pandoc -f markdown -s --citeproc $_.name -o $docx}

View File

@ -0,0 +1 @@
gci -r -i *.md |foreach{$pdf=$_.directoryname+"\"+$_.basename+".pdf";pandoc -f markdown -s --citeproc $_.name -o $pdf}