urbit/mar/downy.hoon
Anton Dyudin bac25edb79 Sur disqualification moved to userspace
sed -i'' -e '/^|/{x;/./{p;s/.*//;};x;};/ *\\/-.*\\*/{h;s/ //g;s/,[a-z]*//g;s/^[^a-z]*/[/;s/ *::.*$//;s/$/ .]/;s/*/ /g;x;s/\\*//g;}' urb/zod/**.{hoon,hook}
  Followed by manual fixes where e.g. the file didn't start with a core
2015-09-03 17:14:33 -04:00

35 lines
858 B
Plaintext

::
:::: /hoon/down/mar
::
/? 314
/- markdown
/+ down-jet
::
::::
::
[markdown .]
|_ [atr=(map cord cord) don=down]
++ grab :: convert from
|%
++ mdy |=([atr=_atr src=@t] [atr (mark:down-jet src)])
++ noun ,[(map cord cord) down] :: clam from %noun
--
::
++ grow :: convert into
|%
++ hymn :: convert to %hymn
;html
;head:title:"Untitled"
;body ;* +:elem
==
==
++ elem :: convert to %elem
=+ jon=`json`o/(~(run by atr) |=(cord s/+<))
;div
;* :- ;meta(value "{(pojo jon)}", name "frontmatter", urb_front "");
(print:down-jet don)
==
:: ++ react elem
--
--