Skip to content

Commit

Permalink
Hotfix markdown lists (#15)
Browse files Browse the repository at this point in the history
* handle unordered lists

* hotfix markdown variable
  • Loading branch information
TimoKats authored Aug 15, 2024
1 parent 59a3c50 commit 6c220c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func GetArticles(config Config) ([]Article, error) {

func ReadMarkdown(config Config, articles []Article) []Article {
for index := range articles {
markdownListActive = false
filePath := config.InputFolder + "/" + articles[index].Filename
readFile, _ := os.Open(filePath)
scanner := bufio.NewScanner(readFile)
Expand Down

0 comments on commit 6c220c6

Please sign in to comment.