From 059d31f690d0934261c05de6c84601dce8f29591 Mon Sep 17 00:00:00 2001 From: Adam Abrams Date: Wed, 10 Jun 2020 09:15:51 -0500 Subject: [PATCH] fix: add bullets to toc --- CHANGELOG.md | 7 ++++++- ideas | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 060bcc5..7195d46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] - 2020-06-10 +### Fixed +- Add bullet points to the table of contents. + ## [0.1.0] - 2020-06-09 ### Added - Created a script with the basic functionality. -[Unreleased]: https://github.com/adamtabrams/ideas/compare/0.1.0...HEAD +[Unreleased]: https://github.com/adamtabrams/ideas/compare/0.2.0...HEAD +[0.2.0]: https://github.com/adamtabrams/ideas/compare/0.1.0...0.2.0 [0.1.0]: https://github.com/adamtabrams/ideas/releases/tag/0.1.0 diff --git a/ideas b/ideas index 1d3950d..d10d0ef 100755 --- a/ideas +++ b/ideas @@ -42,7 +42,7 @@ add_idea() { idea_file="$repo/$idea.md" [ -e "$idea_file" ] && echo "$idea_file already exists" >&2 && return 1 - printf "\n[%s](%s.md)\n" "$idea" "$idea" >> "$repo/README.md" + printf "\n- [%s](%s.md)\n" "$idea" "$idea" >> "$repo/README.md" printf "## %s\n\n\n" "$idea" > "$idea_file" ${EDITOR:-vi} "$idea_file" git add README.md "$idea_file" && git commit -m "added $idea" && git push