summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index d12fd01..8f215ec 100644
--- a/main.go
+++ b/main.go
@@ -19,11 +19,11 @@ func main() {
for _, f := range files {
filePath := filepath.Join(path, f.Name())
if !f.IsDir() && strings.HasSuffix(f.Name(), ".md") {
- fmt.Printf("Found content: %s", f.Name())
+ fmt.Printf("Found content: %s\n", filePath)
htmlContent := convertToHtml(filePath)
htmlPath := strings.Replace(filePath, ".md", ".html", 1)
os.WriteFile(htmlPath, htmlContent, 0o777)
- fmt.Printf("Wrote file: %s", htmlPath)
+ fmt.Printf("Wrote file: %s\n", htmlPath)
}
}
}