mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-26 08:25:04 +03:00
bac25edb79
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
|
|
--
|
|
--
|