mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 20:02:51 +03:00
ac98cf1075
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
34 lines
724 B
Plaintext
34 lines
724 B
Plaintext
::
|
|
:::: /hoon/down/mar
|
|
::
|
|
/? 314
|
|
/- markdown
|
|
/+ down-jet
|
|
::
|
|
::::
|
|
::
|
|
[markdown .]
|
|
|_ don=down
|
|
++ grab :: convert from
|
|
|%
|
|
++ md |=(src=@t (mark:down-jet src))
|
|
++ noun down :: clam from %noun
|
|
--
|
|
::
|
|
++ grow :: convert into
|
|
|%
|
|
++ hymn :: convert to %hymn
|
|
;html
|
|
;head:title:"Untitled"
|
|
;body
|
|
;* (print:down-jet don)
|
|
==
|
|
==
|
|
++ elem :: convert to %elem
|
|
;div
|
|
;* (print:down-jet don)
|
|
==
|
|
:: ++ react elem
|
|
--
|
|
--
|