diff options
Diffstat (limited to 'mardown/eval.go')
| -rw-r--r-- | mardown/eval.go | 16 |
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)) -} |
