aboutsummaryrefslogtreecommitdiff
path: root/mardown/eval.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-10-02 19:52:38 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-10-02 19:52:38 +0200
commit94dceb4f7c1740de9215b36ec183f93ca4337ee7 (patch)
tree5ad184efb0b74dd3aa4da7585f88a3e3f6cb4ecc /mardown/eval.go
parent8b249c9ce8bd1c351daf80c6c9b095fb1bccafe2 (diff)
style(markdown): fix typo in package name
Diffstat (limited to 'mardown/eval.go')
-rw-r--r--mardown/eval.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/mardown/eval.go b/mardown/eval.go
deleted file mode 100644
index c085767..0000000
--- a/mardown/eval.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package mardown
-
-import "html/template"
-
-func Parse(s string) (template.HTML, *ParseError) {
- lxs := lex(s)
- tree, err := ast(lxs)
- if err != nil {
- return "", err
- }
- return tree.Eval()
-}
-
-func ParseBytes(b []byte) (template.HTML, *ParseError) {
- return Parse(string(b))
-}