Skip to content

Commit

Permalink
Add script to fix Markdown style errors
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed May 14, 2024
1 parent 3061138 commit 886e28e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions scripts/fix_markdown_style_errors.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
#
# Fix markdown style errors,
# as is recommended by the Markdown checker.
#
# Usage:
#
# ./scripts/fix_markdown_style_errors.sh

if [[ "$PWD" =~ scripts$ ]]; then
echo "FATAL ERROR."
echo "Please run the script from the project root. "
echo "Present working director: $PWD"
echo " "
echo "Tip: like this"
echo " "
echo " ./scripts/fix_markdown_style_errors.sh"
echo " "
exit 42
fi

./scripts/remove_trailing_spaces.sh

0 comments on commit 886e28e

Please sign in to comment.