on master help sign in
updated internals.md and arvo.md
commit799ffb8889637c20701780d7fabfb7c4bcb41261 authorRobert Mariani <robert@tlon.io> dateTue 17 Apr 2018, 15:25 (9 years ago) parent7c20e30
4 files changed+44−43
docs/arvo.md+1−1 docs/arvo/internals.md+4−4 docs/arvo/umarkdown.md+18−18 docs/arvo/umarkdown.umd+21−20
docs/arvo.md+1−1
@@ -1,6 +1,6 @@
11---
22navhome: /docs/
3−next: false
3+next: true
44sort: 6
55title: Arvo
66---
docs/arvo/internals.md+4−4
@@ -104,17 +104,17 @@ As of this writing, we have seven vanes, which each provide the
104104following services:
105105
106106- `%ames`: the name of both our network and the vane that communicates over
107− it
108−- `%behn`: a simple timer
107+ it.
108+- `%behn`: a simple timer.
109109- `%clay`: our version-controlled, referentially- transparent, and global
110− filesystem
110+ filesystem.
111111- `%dill`: a terminal driver. Unix sends keyboard events to `%dill` from
112112 either the console or telnet, and `%dill` produces terminal output.
113113- `%eyre`: an http server. Unix sends http messages to `%eyre`, and
114114 `%eyre` produces http messages in response.
115115- `%ford`: handles resources and publishing.
116116- `%gall`: manages our userspace applications. `%gall` keeps state and
117− manages subscribers
117+ manages subscribers.
118118
119119Cards
120120-----
docs/arvo/umarkdown.md+18−18
@@ -9,7 +9,7 @@ _thanks to ~rovnys-ricfer for writing this_
99
1010# Urbit-Flavored Markdown
1111
12−## overview
12+## Overview
1313
1414Urbit-Flavored Markdown (UFM) is a minimal markup language for creating and rendering text documents,
1515with a [Markdown](https://en.wikipedia.org/wiki/Markdown)-inspired syntax. It's integrated with the Hoon programming
@@ -20,7 +20,7 @@ using Hoon's `sail` datatype.
2020UFM is stricter than Markdown and generally supports only one syntax for each
2121type of HTML node that it emits.
2222
23−### headers
23+### Headers
2424
2525Headers in UFM begin with one or more `#` characters, followed by a space. The
2626number of leading `#`s corresponds to the resulting HTML element: `#` yields an
@@ -38,7 +38,7 @@ produces:
3838
3939 ##### Header (h5)
4040
41−### lists
41+### Lists
4242
4343A line beginning with a `-` or `+` followed by a space is interpreted as an
4444element of a list. `-` means unordered list (`<ul>`) and `+` means ordered list
@@ -88,7 +88,7 @@ produces:
8888 + nested item 1
8989 + nested item 2
9090
91−### blockquotes
91+### Blockquotes
9292
9393A section of text beginning with `> ` and indented by two spaces yields a
9494`<blockquote>` element. This blockquote can itself turn contain more UFM,
@@ -106,7 +106,7 @@ produces:
106106> > As Gregor Samsa awoke one morning from uneasy dreams
107107 he found himself _transformed_ in his bed into a *monstrous* vermin.
108108
109−### code blocks
109+### Code blocks
110110
111111By enclosing a block of text in `\`\`\` on their own lines
112112before and after the block, the text will be treated as a code block.
@@ -135,7 +135,7 @@ produces:
135135 ((x x) y)))))))
136136 ```
137137
138−### poems
138+### Poems
139139
140140A poem is a section of text with meaningful newlines. Normally in UFM,
141141newlines are treated as spaces and do not create a new line of text. If you
@@ -155,7 +155,7 @@ produces:
155155 Is moving its slow thighs, while all about it
156156 Reel shadows of the indignant desert birds.
157157
158−### sail expressions
158+### Sail expressions
159159
160160It's possible to use Urbit-Flavored Markdown as an HTML-templating language akin to
161161PHP, ERB, JSP, or Handlebars templates. This facility derives
@@ -192,7 +192,7 @@ currently does not apply `<style>` elements or element attributes,
192192which are supported in `sail` syntax. Future versions of the publishing
193193system will rectify this._
194194
195−### horizontal rules
195+### Horizontal rules
196196
197197`---` on its own line produces an `<hr>` element, the 'horizontal rule'.
198198This is rendered as a horizontal line the width of its containing paragraph.
@@ -208,12 +208,12 @@ Below the line
208208 ---
209209 Below the line
210210
211−### inline markup
211+### Inline markup
212212
213213In addition to the above, UFM includes several options for marking up
214214inline text.
215215
216−##### bold
216+##### Bold
217217
218218Enclose some text in asterisks to boldly render it inside a `<b>` element.
219219
@@ -227,7 +227,7 @@ produces:\
227227> The first rule of tautology club is
228228 *the first rule of tautology club*.
229229
230−##### italics
230+##### Italics
231231
232232Surrounding text with `_` on each side will cause it to appear
233233in italics, using an <i> element.
@@ -241,7 +241,7 @@ produces:
241241
242242Bueller? _Bueller?_
243243
244−##### double quote
244+##### Double quote
245245
246246Text enclosed in double quotes (`"`) will be rendered with
247247opening and closing quotes.
@@ -254,7 +254,7 @@ produces:\
254254
255255"Yes," he said. "That is the way with him."
256256
257−##### backslash escape
257+##### Backslash escape
258258
259259A backslash directly before a word (with no spaces) will be interpreted
260260as an escape character, causing it to be rendered raw.
@@ -269,7 +269,7 @@ produces:
269269Here is some *bold* text.
270270Here is some \*not bold\* text.
271271
272−##### trailing backslash
272+##### Trailing backslash
273273
274274A backslash at the end of a line inserts a line break (`<br>`)
275275after that line. This contrasts with the normal UFM behavior of
@@ -287,7 +287,7 @@ I wonder how long each line
287287will be if I put backslashes\
288288at the ends of the lines.
289289
290−##### inline code literal
290+##### Inline code literal
291291
292292Enclosing some text in ``` characters will cause it to be displayed as code,
293293inside a <code> element with monospace font and a different background color.
@@ -332,7 +332,7 @@ produces:\
3323320xdead.beef \
333333%term
334334
335−##### url
335+##### Url
336336
337337To insert a hyperlink, put the text content of the link in `[]` brackets
338338followed by the destination URL in `()` parentheses. Note that the text
@@ -342,9 +342,9 @@ Example:
342342
343343```
344344A [Hoon `core`](https://urbit.org/docs/hoon/concepts/#-core-object)
345−is similar to an object in a traditional programming langauge.
345+is similar to an object in a traditional programming language.
346346```
347347produces:\
348348
349349A [Hoon `core`](https://urbit.org/docs/hoon/concepts/#-core-object)
350−is similar to an object in a traditional programming langauge.
350+is similar to an object in a traditional programming language.
docs/arvo/umarkdown.umd+21−20
@@ -1,14 +1,15 @@
11---
22navhome: /docs/
33next: true
4−sort: 22
4+sort: 23
55Title: Internals
66---
7−_thanks to ~rovnys-ricfer for writing the original version of this_
7+
8+_thanks to ~rovnys-ricfer for writing this_
89
910# Urbit-Flavored Markdown
1011
11−## overview
12+## Overview
1213
1314Urbit-Flavored Markdown (UFM) is a minimal markup language for creating and rendering text documents,
1415with a [Markdown](https://en.wikipedia.org/wiki/Markdown)-inspired syntax. It's integrated with the Hoon programming
@@ -19,7 +20,7 @@ using Hoon's `sail` datatype.
1920UFM is stricter than Markdown and generally supports only one syntax for each
2021type of HTML node that it emits.
2122
22−### headers
23+### Headers
2324
2425Headers in UFM begin with one or more `#` characters, followed by a space. The
2526number of leading `#`s corresponds to the resulting HTML element: `#` yields an
@@ -37,7 +38,7 @@ produces:
3738
3839 ##### Header (h5)
3940
40−### lists
41+### Lists
4142
4243A line beginning with a `-` or `+` followed by a space is interpreted as an
4344element of a list. `-` means unordered list (`<ul>`) and `+` means ordered list
@@ -87,7 +88,7 @@ produces:
8788 + nested item 1
8889 + nested item 2
8990
90−### blockquotes
91+### Blockquotes
9192
9293A section of text beginning with `> ` and indented by two spaces yields a
9394`<blockquote>` element. This blockquote can itself turn contain more UFM,
@@ -105,7 +106,7 @@ produces:
105106> > As Gregor Samsa awoke one morning from uneasy dreams
106107 he found himself _transformed_ in his bed into a *monstrous* vermin.
107108
108−### code blocks
109+### Code blocks
109110
110111By enclosing a block of text in `\`\`\` on their own lines
111112before and after the block, the text will be treated as a code block.
@@ -134,7 +135,7 @@ produces:
134135 ((x x) y)))))))
135136 ```
136137
137−### poems
138+### Poems
138139
139140A poem is a section of text with meaningful newlines. Normally in UFM,
140141newlines are treated as spaces and do not create a new line of text. If you
@@ -154,7 +155,7 @@ produces:
154155 Is moving its slow thighs, while all about it
155156 Reel shadows of the indignant desert birds.
156157
157−### sail expressions
158+### Sail expressions
158159
159160It's possible to use Urbit-Flavored Markdown as an HTML-templating language akin to
160161PHP, ERB, JSP, or Handlebars templates. This facility derives
@@ -191,7 +192,7 @@ currently does not apply `<style>` elements or element attributes,
191192which are supported in `sail` syntax. Future versions of the publishing
192193system will rectify this._
193194
194−### horizontal rules
195+### Horizontal rules
195196
196197`---` on its own line produces an `<hr>` element, the 'horizontal rule'.
197198This is rendered as a horizontal line the width of its containing paragraph.
@@ -207,12 +208,12 @@ Below the line
207208 ---
208209 Below the line
209210
210−### inline markup
211+### Inline markup
211212
212213In addition to the above, UFM includes several options for marking up
213214inline text.
214215
215−##### bold
216+##### Bold
216217
217218Enclose some text in asterisks to boldly render it inside a `<b>` element.
218219
@@ -226,7 +227,7 @@ produces:\
226227> The first rule of tautology club is
227228 *the first rule of tautology club*.
228229
229−##### italics
230+##### Italics
230231
231232Surrounding text with `_` on each side will cause it to appear
232233in italics, using an <i> element.
@@ -240,7 +241,7 @@ produces:
240241
241242Bueller? _Bueller?_
242243
243−##### double quote
244+##### Double quote
244245
245246Text enclosed in double quotes (`"`) will be rendered with
246247opening and closing quotes.
@@ -253,7 +254,7 @@ produces:\
253254
254255"Yes," he said. "That is the way with him."
255256
256−##### backslash escape
257+##### Backslash escape
257258
258259A backslash directly before a word (with no spaces) will be interpreted
259260as an escape character, causing it to be rendered raw.
@@ -268,7 +269,7 @@ produces:
268269Here is some *bold* text.
269270Here is some \*not bold\* text.
270271
271−##### trailing backslash
272+##### Trailing backslash
272273
273274A backslash at the end of a line inserts a line break (`<br>`)
274275after that line. This contrasts with the normal UFM behavior of
@@ -286,7 +287,7 @@ I wonder how long each line
286287will be if I put backslashes\
287288at the ends of the lines.
288289
289−##### inline code literal
290+##### Inline code literal
290291
291292Enclosing some text in ``` characters will cause it to be displayed as code,
292293inside a <code> element with monospace font and a different background color.
@@ -331,7 +332,7 @@ produces:\
3313320xdead.beef \
332333%term
333334
334−##### url
335+##### Url
335336
336337To insert a hyperlink, put the text content of the link in `[]` brackets
337338followed by the destination URL in `()` parentheses. Note that the text
@@ -341,9 +342,9 @@ Example:
341342
342343```
343344A [Hoon `core`](https://urbit.org/docs/hoon/concepts/#-core-object)
344−is similar to an object in a traditional programming langauge.
345+is similar to an object in a traditional programming language.
345346```
346347produces:\
347348
348349A [Hoon `core`](https://urbit.org/docs/hoon/concepts/#-core-object)
349−is similar to an object in a traditional programming langauge.
350+is similar to an object in a traditional programming language.