Skip to content

Commit

Permalink
remove test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-polo committed Apr 16, 2021
1 parent eb14387 commit 480914d
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/gemtext/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -165,31 +165,3 @@
(partition-by #(= (first %) :item))
(map to-hiccup2)
(mapcat identity)))

(comment
(->> "list:\n* uno\n*due\n* tre\naltro\n*quattro"
parse
flat
(partition-by #(= (first %) :item))
(map to-hiccup2)
(mapcat identity)
)

(to-hiccup
(parse
"list:\n* uno\n*due\n* tre\naltro\n*quattro\n=> /foo.html bar")

)

(flat (list (parse "hello world\n* item\n\n# title\n\n```\nhello\n````")
(parse "hello\n* hee\n")))
(parse '("hello" "world" "how"))
(unparse (parse "```\nhello\nfooo\n```"))
(unparse1 [:text "foo"])
(parse "=> /foo hello there\n* hello\n*there\n=>/foo/bar bazzz!!\n")

(parse (repeat 3 "hello"))
(unparse [[:link "/index.gmi" "Home"] [:text "foo"]])

((comp unparse parse) "#hello world")
)

0 comments on commit 480914d

Please sign in to comment.