urbit/mar/markdown.hoon
2015-06-19 17:16:48 -04:00

30 lines
400 B
Plaintext

::
:::: /hoon/core/markdown/pro
::
/? 314
::
|_ mud=@t
++ garb [%down ~]
++ grow
|%
++ mime [/text/x-markdown (taco mud)]
++ md mud
++ txt
(lore (cat 3 mud '\0a'))
--
++ grab
|%
++ mime |=([p=mite q=octs] q.q)
++ noun ,@t
++ md |=(@t +<)
++ txt
|= wan=wain
=+ (role wan)
(end 3 (dec (met 3 -)) -)
--
++ grad
|%
++ sted %txt
--
--