Skip to content

Commit 24a6754

Browse files
committed
fix: Correct markdown code block syntax in file display
Improve code block rendering by using proper markdown syntax with three backticks. This ensures better readability and compatibility with markdown rendering tools.
1 parent f9586bb commit 24a6754

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

context

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,14 @@ for file in $ALL_FILES; do
170170
echo ""
171171
fi
172172

173-
echo "``````${file##*.} $file"
173+
# Use proper markdown code block with three backticks
174+
echo "\`\`\` ${file##*.} $file"
174175
echo "$file_content"
175176
if [ "$truncated" = true ]; then
176177
echo ""
177178
echo "... [File truncated due to size limit] ..."
178179
fi
179-
echo "``````"
180+
echo "\`\`\`"
180181
echo ""
181182
done
182183

0 commit comments

Comments
 (0)