diff options
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 -} |