Created
October 21, 2019 04:36
-
-
Save ahmetb/e40448751be7f2dd9faf2a05af6f9d1d to your computer and use it in GitHub Desktop.
Revisions
-
ahmetb created this gist
Oct 21, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # prepend --- to every doc sed -i '1i---' *.md # append --- to first empty line (\n\n) # (use GNU sed) sed -i '0,/^$/s//---\n/' *.md