mirror of
https://github.com/urbit/shrub.git
synced 2024-12-02 08:55:07 +03:00
37 lines
807 B
Plaintext
37 lines
807 B
Plaintext
::
|
|
:::: /hoon/down/mar
|
|
::
|
|
/? 314
|
|
/- markdown
|
|
/+ down-jet, frontmatter
|
|
::
|
|
::::
|
|
::
|
|
[markdown .]
|
|
|_ don+down
|
|
++ grab :: convert from
|
|
|%
|
|
++ noun down :: clam from %noun
|
|
++ md
|
|
|= src+@t
|
|
=+ [atr mud]=(parse:frontmatter (lore src))
|
|
[[%meta atr] (mark:down-jet mud)]
|
|
--
|
|
::
|
|
++ 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
|
|
--
|
|
--
|