add .umd urbit-markdown mark

This commit is contained in:
Anton Dyudin 2017-08-07 13:17:22 -07:00
parent 19bf1b20f0
commit 2c5e4445b1
5 changed files with 41 additions and 4 deletions

24
mar/umd.hoon Normal file
View 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
--

View File

@ -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;
==

View File

@ -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.

View File

@ -1,4 +1,3 @@
{pathological case}
## A digital home base

View File

@ -56,7 +56,8 @@
;li
;h2: CommonMark
;ol
;* ^- marl
;* ?: [disabled=&] ; DISABLED
^- marl
%+ murn `down`mad
|= a/elem:markdown
?: ?=($head -.a)