back to feed

udon, a new religion

2023.12.11

markdown is cancelled.

i figured out udon.

udon

udon is a markdown-like syntax.

  1. hi

  2. yes

  3. hello

hi

yes

hello

it's advantage over markdown is that it can be compiled against a nock noun and render any html.

this means it is:

  • approachable like markdown

  • but with all the power of hoon within it

udon

what an elegant little system. if you're familar with mdx, udon is to hoon what mdx is to javascript.

i can see myself building everything in %feeds based on udon.

udon. Udon. UDON.

udon

the killer feature is being able to compile against the state of the app and use sail within it to render whatever you want.

this is way better than any templating system that i could have written.

the only problem is that only 50 people in the world know what udon is.

so i will do what i must do: evangelize!

“udon is a powerful tool”

udon example

the numbers 0 through 30, dynamically generated.

0123456789101112131415161718192021222324252627282930

is generated by code that looks like this.

;div
  =style  "display:flex; flex-wrap:wrap; gap:4px;"
  ;*  %:  turn  (gulf 0 30)
    |=  n=@
    ;span(style "padding:4px; border:1px solid #777;"): {<n>}
  ==
==

it's power!