vault backup: 2026-03-30 22:54:00

This commit is contained in:
2026-03-30 22:54:00 -04:00
parent 3202306f62
commit ded28a372d
73 changed files with 212 additions and 155 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ function Import-Markdown {
catch {
throw "no YAML conversion module installed. Try ``Install-Module powershell-yaml``."
}
$content = Get-Content -Path $Path -Raw
$pattern = [Regex]'(?ms)^---\s*(.*?)\s*---\s*(.*)$'
$match = $pattern.Match($content)
@@ -45,7 +45,7 @@ function Import-Markdown {
$frontmatter = ''
$body = $content
}
return [pscustomobject]@{
frontmatter = $frontmatter | ConvertFrom-Yaml
body = $body