Fix title linebreak
parent
0a491b554c
commit
b85e56a3b3
|
@ -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 -e 's/$/]/' # Wrap titles in square brackets
|
||||||
sed -i -e 's/^\[#\ /* \[/' titles # Remove '#' and add list bullet
|
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
|
paste titles links -d "" >> "$HOME/.wiki/my-anki.md" # Concatenate & append to file
|
||||||
|
|
Loading…
Reference in New Issue