We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b225b1 commit ec5fc20Copy full SHA for ec5fc20
1 file changed
scripts/fix_markdown_style_errors.sh
@@ -0,0 +1,24 @@
1
+#!/bin/bash
2
+#
3
+# Fix Markdown style errors,
4
+# as is recommended by the Markdown checker.
5
6
+# Usage:
7
8
+# ./scripts/fix_markdown_style_errors.sh
9
+
10
+if [[ "$PWD" =~ scripts$ ]]; then
11
+ echo "FATAL ERROR."
12
+ echo "Please run the script from the project root. "
13
+ echo "Present working director: $PWD"
14
+ echo " "
15
+ echo "Tip: like this"
16
17
+ echo " ./scripts/fix_markdown_style_errors.sh"
18
19
+ exit 42
20
+fi
21
22
+markdownlint --fix "**/*.md"
23
+git status
24
0 commit comments