chore(markdown): Fixed crowdin issues with frontmatter
This commit is contained in:
parent
d846a3202f
commit
24880de16f
5492 changed files with 10988 additions and 11004 deletions
10
scripts/fix-crowdin.sh
Executable file
10
scripts/fix-crowdin.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# For reasons that I don't know nor have been able to fix, Crowding
|
||||
# sometimes (but not always) changes the frontmatter marker from:
|
||||
# --- to: - - -
|
||||
# This causes the webpack loader to not recognize it as frontmatter,
|
||||
# which is not good and causes all sorts of problems.
|
||||
# This script changes all occurances of `- - -` on a single line to `---`
|
||||
# for all files under the markdown folder.
|
||||
find ./markdown/. -type f -name "*.md" -exec sed -i "s/^- - -$/---/g" {} +
|
Loading…
Add table
Add a link
Reference in a new issue