urbit/mar/markdown.hoon
2016-12-08 13:50:32 -08:00

25 lines
316 B
Plaintext

::
:::: /hoon/markdown/mar
::
/? 310
::
=, mimes:html
=, format
|_ mud/@t
++ grow
|%
++ mime [/text/x-markdown (as-octs mud)]
++ md mud
++ txt
(to-wain mud)
--
++ grab
|%
++ mime |=({p/mite q/octs} q.q)
++ noun @t
++ md |=(@t +<)
++ txt of-wain
--
++ grad %txt
--