diff --git a/.helpers/updateHelp.ps1 b/.helpers/updateHelp.ps1
new file mode 100644
index 0000000..21e452c
--- /dev/null
+++ b/.helpers/updateHelp.ps1
@@ -0,0 +1,29 @@
+$docspath = './docs/en-us'
+$helppath = './en-us'
+
+# Generate xml
+New-ExternalHelp -Path $docspath -OutputPath $helppath -Force
+
+# Add two empty lines after all examples except the last
+foreach ($file in (Get-ChildItem -Path $helppath -Filter *.xml).FullName)
+{
+ (Get-Content -Path $file -Raw) `
+ -replace "\r\n \r\n \r\n ",
+ "`n `n `n `n `n " |
+ Set-Content -Path $file
+}
+
+$docspath = './docs/ru-ru'
+$helppath = './ru-ru'
+
+# Generate xml
+New-ExternalHelp -Path $docspath -OutputPath $helppath -Force
+
+# Add two empty lines after all examples except the last
+foreach ($file in (Get-ChildItem -Path $helppath -Filter *.xml).FullName)
+{
+ (Get-Content -Path $file -Raw) `
+ -replace "\r\n \r\n \r\n ",
+ "`n `n `n `n `n " |
+ Set-Content -Path $file
+}
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index c86b926..7af2821 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -44,7 +44,7 @@
{
"label": "UpdateHelp",
"type": "shell",
- "command": "Set-Location ${workspaceFolder}; New-ExternalHelp -Path ./docs/en-us -OutputPath ./en-us -Force; New-ExternalHelp -Path ./docs/ru-ru -OutputPath ./ru-ru -Force",
+ "command": "Set-Location ${workspaceFolder}; ./.helpers/updateHelp.ps1",
"group": {
"kind": "none",
"isDefault": true