urbit/mar/markdown.hoon

26 lines
354 B
Plaintext
Raw Normal View History

2015-05-29 22:09:21 +03:00
::
2016-02-05 06:05:37 +03:00
:::: /hoon/markdown/mar
2015-05-29 22:09:21 +03:00
::
/? 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 -)) -)
--
2015-07-08 01:22:32 +03:00
++ grad %txt
2015-05-29 22:09:21 +03:00
--