mirror of
https://github.com/urbit/shrub.git
synced 2024-11-30 01:33:53 +03:00
add .umd urbit-markdown mark
This commit is contained in:
parent
19bf1b20f0
commit
2c5e4445b1
24
mar/umd.hoon
Normal file
24
mar/umd.hoon
Normal file
@ -0,0 +1,24 @@
|
||||
::
|
||||
:::: /hoon/umd/mar
|
||||
::
|
||||
/? 310
|
||||
::
|
||||
|_ mud/@t
|
||||
++ grow
|
||||
|%
|
||||
++ mime [/text/x-unmark (taco mud)]
|
||||
++ txt
|
||||
(lore mud)
|
||||
++ elem
|
||||
^- manx
|
||||
[/div ~(shut ap %xml (rash mud fenced:cram:vast))]
|
||||
--
|
||||
++ grab
|
||||
|%
|
||||
++ mime |=({p/mite q/octs} q.q)
|
||||
++ noun @t
|
||||
++ txt role
|
||||
--
|
||||
++ grad %txt
|
||||
++ garb /down
|
||||
--
|
@ -6,7 +6,20 @@
|
||||
/= dat-sen /| /: /%%/ /% /tree-json/ :: default include
|
||||
/~ ~
|
||||
==
|
||||
::
|
||||
|%
|
||||
++ script-safe
|
||||
!.
|
||||
|= a/tape ^- tape
|
||||
?~ a a
|
||||
?. ?=({$'<' $'/' *} a) [i.a $(a t.a)]
|
||||
['<' '\\' '/' $(a t.t.a)]
|
||||
--
|
||||
::
|
||||
^- marl
|
||||
;= ;script(type "text/javascript"): window.tree = {(pojo (jobe data+dat sein+dat-sen ~))}
|
||||
;= ;script(type "text/javascript")
|
||||
; window.tree =
|
||||
;- (script-safe (pojo (jobe data+dat sein+dat-sen ~)))
|
||||
==
|
||||
;div#tree;
|
||||
==
|
||||
|
@ -6,4 +6,4 @@ comments: true
|
||||
|
||||
You can put static files in here to serve them to the web. Actually, you can put static files anywhere in `/web` and see them in a browser.
|
||||
|
||||
Docs on static publishing with urbit are forthcoming — but feel free to drop markdown files in `/web` to try it out.
|
||||
Docs on static publishing with urbit are forthcoming — but feel free to drop markdown files in `/web` to try it out.
|
@ -1,4 +1,3 @@
|
||||
{pathological case}
|
||||
|
||||
## A digital home base
|
||||
|
||||
|
@ -56,7 +56,8 @@
|
||||
;li
|
||||
;h2: CommonMark
|
||||
;ol
|
||||
;* ^- marl
|
||||
;* ?: [disabled=&] ; DISABLED
|
||||
^- marl
|
||||
%+ murn `down`mad
|
||||
|= a/elem:markdown
|
||||
?: ?=($head -.a)
|
||||
|
Loading…
Reference in New Issue
Block a user