mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 18:31:44 +03:00
21 lines
424 B
Plaintext
21 lines
424 B
Plaintext
/- publish
|
|
/+ publish, cram, elem-to-react-json
|
|
/= args /$ ,[beam *]
|
|
/= result
|
|
/^ [post-info:publish manx @t]
|
|
/;
|
|
|= $: post-front=(map knot cord)
|
|
post-content=manx
|
|
post-raw=wain
|
|
~
|
|
==
|
|
:+ (front-to-post-info:publish post-front)
|
|
post-content
|
|
(of-wain:format (slag 11 post-raw))
|
|
::
|
|
/. /&front&/udon/
|
|
/&elem&/udon/
|
|
/&txt&/udon/
|
|
==
|
|
result
|