urbit/mar/markdown.hoon
2016-02-04 19:05:37 -08:00

26 lines
354 B
Plaintext

::
:::: /hoon/markdown/mar
::
/? 314
::
|_ mud=@t
++ 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 %txt
--