Fix title linebreak

master
Hektor Misplon 2021-12-04 17:48:36 +01:00
parent 0a491b554c
commit b85e56a3b3
1 changed files with 1 additions and 1 deletions

View File

@ -14,5 +14,5 @@ sed -i -e 's/^/(/' links -e 's/$/)/' # Wrap links in parentheses
sed -i -e 's/^/[/' titles -e 's/$/]/' # Wrap titles in square brackets
sed -i -e 's/^\[#\ /* \[/' titles # Remove '#' and add list bullet
echo "# My anki decks\n" > "$HOME/.wiki/my-anki.md" # Clear file and add markdown title
echo -e "# My anki decks\n" > "$HOME/.wiki/my-anki.md" # Clear file and add markdown title
paste titles links -d "" >> "$HOME/.wiki/my-anki.md" # Concatenate & append to file