diff options
author | Eddy Pedroni <epedroni@pm.me> | 2025-04-08 17:01:55 +0200 |
---|---|---|
committer | Eddy Pedroni <epedroni@pm.me> | 2025-04-08 17:02:46 +0200 |
commit | 83d175b7b069bc3bbc0d600c2fab4d082e04b521 (patch) | |
tree | 9d1b7975ad16f7d5433285d3fab0a7cc38d24564 /markdown.go | |
parent | 38b40d8c5a8915716b3aa46aac4a0a84d0113b25 (diff) |
Python implementation with better multi-entry page support
Diffstat (limited to 'markdown.go')
-rw-r--r-- | markdown.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/markdown.go b/markdown.go deleted file mode 100644 index 3a2d33c..0000000 --- a/markdown.go +++ /dev/null @@ -1,17 +0,0 @@ -package main - -import ( - "github.com/russross/blackfriday/v2" - "io/ioutil" -) - -// Takes the path to a markdown file and outputs the processed HTML in a string -func processMarkdown(path string) (md string, err error) { - data, err := ioutil.ReadFile(path) - if err != nil { - return - } - - md = string(blackfriday.Run(data)) - return -} |