Skip to content

Commit 35c1e5f

Browse files
committed
adjusting build scripts to fix image paths for demo files
1 parent f8ceab0 commit 35c1e5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ for input_path in content/*.md; do
4141
# Use perl for cross-platform compatibility (macOS and Linux)
4242
perl -i -pe 's|href="styles/|href="../styles/|g' "$output_path"
4343
perl -i -pe "s|url\('images/|url\('../images/|g" "$output_path"
44+
perl -i -pe 's|src="images/|src="../images/|g' "$output_path"
4445
echo "Fixed paths for demo file: $output_path"
4546
fi
4647

0 commit comments

Comments
 (0)