mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-17 16:11:22 +02:00
Updated the manuals
This commit is contained in:
@ -6,7 +6,7 @@ This PowerShell script converts Markdown file(s) into HTML.
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./convert-md2html.ps1 [[-FilePattern] <String>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/convert-md2html.ps1 [[-FilePattern] <String>] [<CommonParameters>]
|
||||
|
||||
-FilePattern <String>
|
||||
Specifies the file pattern to the Markdown file(s)
|
||||
@ -72,7 +72,7 @@ try {
|
||||
pandoc --standalone --template "$PSScriptRoot/../data/templates/template.html" -s $_.name -o $TargetPath
|
||||
}
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ converted in $Elapsed sec"
|
||||
"✅ converted in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -80,4 +80,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2html.ps1 as of 08/15/2024 09:50:47)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of convert-md2html.ps1 as of 11/08/2024 12:34:48)*
|
||||
|
Reference in New Issue
Block a user