Skip to content

Commit

Permalink
Merge pull request #1 from mrparalon/fix_markdown
Browse files Browse the repository at this point in the history
Fix markdown output
  • Loading branch information
57uff3r authored Oct 3, 2022
2 parents 7c20463 + 8492198 commit 04118ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func exportNotesAndHighlights(cCtx *cli.Context) error {
}

// Render MarkDown into STDOUT
fmt.Println(fmt.Sprintf("# %s — %s", book.Name, book.Author))
fmt.Println(fmt.Sprintf("# %s — %s\n", book.Name, book.Author))

rows, err := db.Query(dbThings.GetNotesHighlightsById, cCtx.Args().Get(0))
if err != nil {
Expand All @@ -116,7 +116,7 @@ func exportNotesAndHighlights(cCtx *cli.Context) error {
fmt.Println(fmt.Sprintf("\n%s", singleHightLightNote.Note.String))
}

fmt.Println("<hr>\n\n")
fmt.Println("---\n\n")

}

Expand Down

0 comments on commit 04118ad

Please sign in to comment.