@@ -1,12 +1,8 @@
1−:- :~ navhome/'/docs/'
1++++
4− title/'Udon'
2+title = "Udon"
6−;>
4+template = "doc.html"
10## Table of Contents
6## Table of Contents
12- #### [Udon: A Guide](#guide)
8- #### [Udon: A Guide](#guide)
@@ -15,11 +11,7 @@
16- #### [A Static Site](#static)
12- #### [A Static Site](#static)
20− ;div(id "guide"): Udon: A Guide
14+## A Guide
24Udon is a way to write content for the web. It's a minimalist
16Udon is a way to write content for the web. It's a minimalist
25markup language for creating and rendering text documents, with a
17markup language for creating and rendering text documents, with a
@@ -45,10 +37,10 @@ Udon files using our web interface.
45### Getting Started
37### Getting Started
47Before starting, make sure that your urbit is
39Before starting, make sure that your urbit is
48−[mounted to Unix](/docs/getting-started/creating-a-development-ship/)
40+[mounted to Unix](https://urbit.org/docs/using/setup/)
50To host Udon and other kinds of files, your ship also has a
42To host Udon and other kinds of files, your ship also has a
51−web-server, called Eyre, that can be found
43+web-server, called [Eyre](https://urbit.org/docs/using/web/), that can be found
52at `http://localhost:8080/` if it’s your first ship that’s running on the
44at `http://localhost:8080/` if it’s your first ship that’s running on the
53machine, `http://localhost:8081/` if it’s the second ship on that same machine,
45machine, `http://localhost:8081/` if it’s the second ship on that same machine,
54and so on. If you can't find your ship on one of these for some reason, try the
46and so on. If you can't find your ship on one of these for some reason, try the
@@ -145,10 +137,10 @@ through `<h6>`. The header for this section is `### Headers`.
146### Italics and Bold
138### Italics and Bold
148−Enclosing text with `_` will cause that text to appear italicized, using an <i>
140+Enclosing text with `_` will cause that text to appear italicized, using an `<i>`
151−Enclosing text with `*` will cause that text to appear bolded, using a <b>
143+Enclosing text with `*` will cause that text to appear bolded, using a `<b>`
@@ -323,12 +315,12 @@ destination.
323*Example:*
315*Example:*
326−[I'm an inline-style link](https://www.urbit.org/docs/using/shell)
318+[I'm an inline-style link](https://www.urbit.org/docs/reference/shell)
329###### Produces:
321###### Produces:
331−[I'm an inline-style link](https://www.urbit.org/docs/using/shell)
323+[I'm an inline-style link](https://www.urbit.org/docs/reference/shell)
333The second type is a reference-style link, which uses a relative path, based on
325The second type is a reference-style link, which uses a relative path, based on
334the current page's location. Instead of the full url, we use `..` to fill in
326the current page's location. Instead of the full url, we use `..` to fill in
@@ -344,7 +336,7 @@ the all of the URL that the destination has in common with the origin page.
345[I'm a reference-style link](../shell)
337[I'm a reference-style link](../shell)
347−If this page is located at `https://www.urbit.org/docs/using/`, then these two
339+If this page is located at `https://www.urbit.org/docs/reference/`, then these two
348examples should have the same destination.
340examples should have the same destination.
350#### Anchor Link
342#### Anchor Link
@@ -366,11 +358,7 @@ Four score and seven years ago....
367It was the best of times, it was the worst of times...
359It was the best of times, it was the worst of times...
371− ;div(id "the-destination"): Here we are!
361+## Here we are!
376###### Produces
364###### Produces
@@ -381,11 +369,7 @@ Four score and seven years ago....
382It was the best of times, it was the worst of times...
370It was the best of times, it was the worst of times...
386− ;div(id "the-destination"): Here we are!
372+## Here we are!
390### Double Quote
374### Double Quote
@@ -588,11 +572,7 @@ indent the text in question with *eight spaces*.
588 Reel shadows of the indignant desert birds.
572 Reel shadows of the indignant desert birds.
593− ;div(id "sail"): Sail Expressions
575+## Sail Expressions
597It's possible to use Udon as an HTML templating language akin to
577It's possible to use Udon as an HTML templating language akin to
598PHP, ERB, JSP, or Handlebars templates. This facility derives
578PHP, ERB, JSP, or Handlebars templates. This facility derives
@@ -611,7 +591,7 @@ Example:
613 ;strong: Don't panic!
593 ;strong: Don't panic!
615 ;small: [reactive publishing intensifies]
595 ;small: [reactive publishing intensifies]
@@ -623,17 +603,13 @@ Produces:
625 ;strong: Don't panic!
605 ;strong: Don't panic!
627 ;small: [reactive publishing intensifies]
607 ;small: [reactive publishing intensifies]
634− ;div(id "blog"): A Simple Udon Blog
612+## A Simple Udon Blog
638Publishing using Udon is really easy. It uses the file extension `.udon`. Here we'll create a very simple blog and publish our first posts.
614Publishing using Udon is really easy. It uses the file extension `.udon`. Here we'll create a very simple blog and publish our first posts.
@@ -774,11 +750,7 @@ Use `;join` to keep up with comments as they get posted:
775That's it! Easy.
751That's it! Easy.
779− ;div(id "static"): A Static Site
753+## A Static Site
783Hosting a static tree of content is easy. Let's put together a really
755Hosting a static tree of content is easy. Let's put together a really
784simple site for an imaginary Urbit meetup group.
756simple site for an imaginary Urbit meetup group.
@@ -791,7 +763,7 @@ Note: below we use Urbit's implementation of Markdown, [Udon](#udon).
791This markup language allows you to use snippets of Hoon code but not HTML.
763This markup language allows you to use snippets of Hoon code but not HTML.
792In particular, we use Sail, a subset of Hoon. This Sail is rendered as HTML
764In particular, we use Sail, a subset of Hoon. This Sail is rendered as HTML
793when the file is served to a client. To learn about Sail, head over to
765when the file is served to a client. To learn about Sail, head over to
794−the [Sail](/docs/using/sail) section of the docs.
766+the [Sail](/docs/learn/arvo/arvo-internals/sail) section of the docs.
796In `site/web/meet.udon` put:
768In `site/web/meet.udon` put:
@@ -805,7 +777,7 @@ In `site/web/meet.udon` put:
806# Neo-Tokyo Urbit meetup
778# Neo-Tokyo Urbit meetup
808−;img@"https://ofheroesandcliches.files.wordpress.com/2014/06/neo-tokyo.png"(width "100%");
780+
810Hi there! We meet once a week at The Chat to work on Urbit projects
782Hi there! We meet once a week at The Chat to work on Urbit projects