blog/mar/blog.hoon

19 lines
387 B
Plaintext
Raw Normal View History

2023-02-16 20:38:22 +03:00
:: Realy all unix/mime stuff should look something like this but w/e
::
|_ txt=@t
::
++ grab
|%
++ mime |=((pair mite octs) (@t q.q))
++ noun @t
--
++ grow
|%
2023-02-16 23:18:48 +03:00
:: TODO you actually do want separate html and md marks
:: because md is /text/plain while html is text/html
2023-02-16 20:38:22 +03:00
++ mime [/text/plain (as-octs:mimes:html txt)]
++ json [%s txt]
--
++ grad %mime
--