Something went wrong. Try again.
Something went wrong. Try again.
538 B 34 lines
at testing
1234567891011121314151617181920212223242526272829303132333435(defpackage :rex-md.html (:use :cl :rex-md.markdown) (:export :tree-to-html))
(in-package :rex-md.html)
(defvar *stack* nil)
(defun tree-to-html (tree) (format t "~a~%" tree))
;; TESTING --------------------------------------(defparameter *test-tree* (get-tree"# hello wolrd
this is a simple paragraph"))
(defparameter *test-html* "<h1>hello wolrd<h1/><p> this is a simple paragraph</p>")
(tree-to-html *test-tree*)
(push 1 *stack*)(push 3 *stack*)(pop *stack*)
#|how do I even want to go forward with this?|#