shrub/mar/down.hoon

39 lines
892 B
Plaintext
Raw Normal View History

2014-07-29 02:46:03 +04:00
::
2015-07-18 02:30:34 +03:00
:::: /hoon/down/mar
2014-07-29 02:46:03 +04:00
::
2016-02-18 02:00:12 +03:00
/? 310
/- markdown
/+ down-jet, frontmatter
2014-08-02 03:39:15 +04:00
::
2014-07-31 08:28:48 +04:00
::::
2014-07-29 02:46:03 +04:00
::
2016-11-17 04:30:39 +03:00
=, lines:clay
2016-11-17 04:37:39 +03:00
=, markdown
2016-01-31 06:37:03 +03:00
|_ don/down
2014-07-29 02:46:03 +04:00
++ grab :: convert from
2014-12-06 00:09:46 +03:00
|%
2014-10-08 23:06:40 +04:00
++ noun down :: clam from %noun
++ md
2016-01-31 06:37:03 +03:00
|= src/@t
=+ [atr mud]=(parse:frontmatter (lore src))
[[%meta atr] (mark:down-jet mud)]
2014-07-29 02:46:03 +04:00
--
::
++ grow :: convert into
|%
++ front ?~(don ~ ?:(?=($meta -.i.don) p.i.don front(don t.don)))
++ hymn :: convert to %hymn
;html
;head:title:"Untitled"
;body
2015-07-18 02:30:34 +03:00
;* (print:down-jet don)
2014-08-07 22:01:17 +04:00
==
2014-12-06 00:09:46 +03:00
==
2015-06-06 01:20:26 +03:00
++ elem :: convert to %elem
;div
2015-07-18 02:30:34 +03:00
;* (print:down-jet don)
2014-08-07 22:01:17 +04:00
==
2015-06-06 01:20:26 +03:00
:: ++ react elem
2014-07-29 02:46:03 +04:00
--
--