Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Convert-Rst2Markdown{
- Param (
- [string]$Path = "./"
- )
- Get-ChildItem -Path $Path -Recurse -Force -Include *.rst |
- %{
- $md = $_.Directory.FullName + "\" + $_.Basename + ".md";
- pandoc $_.Fullname -f rst -t markdown -o $md
- }
- }
Add Comment
Please, Sign In to add comment