Skip to content

Commit

Permalink
updated readme generator... again..
Browse files Browse the repository at this point in the history
  • Loading branch information
on committed Oct 24, 2024
1 parent 2752ae9 commit 4f65818
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions generate-readme.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ foreach ($file in $userJsFiles) {
$extraDoc = Get-Content "doc/$baseName.md"

# Replace relative image links with absolute links
$extraDoc = $extraDoc -replace '\!\[(.+)\]\((?!doc\/)(.+)\)', "![`$1](doc/`$2)`n"
$extraDoc = $extraDoc | % { $_ -replace '\!\[(.+)\]\((?!doc\/)(.+)\)', "![`$1](doc/`$2)" }

$scriptList += "`n$extraDoc"
$scriptList += "`n"
$scriptList += $extraDoc
$scriptList += "`n"
}

Expand Down

0 comments on commit 4f65818

Please sign in to comment.