mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-23 00:13:36 +01:00
Added convert-docx2md.ps1, convert-md2docx.ps1, and convert-md2pdf.ps1
This commit is contained in:
parent
34d6adef57
commit
7644f4e6d9
1
Scripts/convert-docx2md.ps1
Normal file
1
Scripts/convert-docx2md.ps1
Normal file
@ -0,0 +1 @@
|
||||
gci -r -i *.docx |foreach{$md=$_.directoryname+"\"+$_.basename+".md";pandoc -f docx -s $_.name -o $md}
|
1
Scripts/convert-md2docx.ps1
Normal file
1
Scripts/convert-md2docx.ps1
Normal file
@ -0,0 +1 @@
|
||||
gci -r -i *.md |foreach{$docx=$_.directoryname+"\"+$_.basename+".docx";pandoc -f markdown -s --citeproc $_.name -o $docx}
|
1
Scripts/convert-md2pdf.ps1
Normal file
1
Scripts/convert-md2pdf.ps1
Normal file
@ -0,0 +1 @@
|
||||
gci -r -i *.md |foreach{$pdf=$_.directoryname+"\"+$_.basename+".pdf";pandoc -f markdown -s --citeproc $_.name -o $pdf}
|
Loading…
Reference in New Issue
Block a user