shrub/pkg/arvo/mar/snip.hoon

32 lines
800 B
Plaintext
Raw Normal View History

2015-02-05 01:59:15 +03:00
::
2016-02-11 21:45:47 +03:00
:::: /hoon/snip/mar
2015-02-05 01:59:15 +03:00
::
2016-02-18 02:00:12 +03:00
/? 310
=, html
2015-02-05 01:59:15 +03:00
::
2016-11-17 04:42:58 +03:00
::
2016-12-03 03:56:54 +03:00
=, mimes:html
|_ [hed=marl tal=marl]
++ grad %noun
2015-02-05 01:59:15 +03:00
::
++ grow :: convert to
2015-02-05 01:59:15 +03:00
|%
2015-02-14 06:41:37 +03:00
++ mime
=< mime
|%
2023-07-04 01:55:20 +03:00
++ hymn :: convert to %hymn
|^ html
++ div ;div:(h1:"*{hed}" div:"*{tal}")
++ html ;html:(head:title:"snip" body:"+{div}")
--
++ html (crip (en-xml hymn)) :: convert to %html
2016-12-03 03:56:54 +03:00
++ mime [/text/html (as-octs html)] :: convert to %mime
2015-02-14 06:41:37 +03:00
--
++ noun [hed tal]
2015-02-05 01:59:15 +03:00
--
2023-07-04 01:55:20 +03:00
++ grab :: convert from
|%
++ noun ,[marl marl] :: clam from %noun
--
--