urbit/base/mar/markdown.hoon

30 lines
400 B
Plaintext
Raw Normal View History

2015-05-29 22:09:21 +03:00
::
:::: /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
--
--