We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dbc006 commit 712c575Copy full SHA for 712c575
1 file changed
Pipelines/Scripts/prepare-pages.ps1
@@ -33,7 +33,9 @@ parent: Packages
33
34
35
"@
36
- Add-Content -Path "./$packageName.md" -Value (Get-Content -Path (Join-Path $packagePath "README.md"))
+ $readmeContent = (Get-Content -Path (Join-Path $packagePath "README.md"))
37
+ $readmeContent = $readmeContent -replace "> \[!(\w+)\]", { "{: . $("$($_.Groups[1])".ToLower()) }" } # Convert GitHub admonitions to just-the-docs syntax
38
+ Add-Content -Path "./$packageName.md" -Value $readmeContent
39
40
# Create CHANGELOG, add front matter, and copy content
41
New-Item -Path "./$packageName.CHANGELOG.md" -Value @"
0 commit comments