on master help sign in
gall-guide: subscriptions - add card diagrams
1363f44Tinnus Napbus
content/docs/userspace/gall-guide/5-cards.md+5−21
@@ -122,11 +122,7 @@ These can be divided into two categories:
122
122
123**Examples**
123**Examples**
124
124
125−```hoon
125+![subscription card examples](https://media.urbit.org/docs/userspace/gall-guide/sub-cards.svg)
126−[%pass /some/wire %agent [~some-ship %some-agent] %watch /some/path]
127−[%pass /some/wire %agent [~some-ship %some-agent] %watch-as %some-mark /some/path]
128−[%pass /some/wire %agent [~some-ship %some-agent] %leave ~]
129−```
130
126
131#### Pokes
127#### Pokes
132
128
@@ -143,10 +139,7 @@ in the `cage` to the `mark` you specify before sending it off.
143
139
144**Examples**
140**Examples**
145
141
146−```hoon
142+![poke card examples](https://media.urbit.org/docs/userspace/gall-guide/poke-cards.svg)
147−[%pass /some/wire %agent [~some-ship %some-agent] %poke %some-mark !>('some data')]
148−[%pass /some/wire %agent [~some-ship %some-agent] %poke-as %mark-to-use %some-mark !>('some-data')]
149−```
150
143
151### `note-arvo`
144### `note-arvo`
152
145
@@ -176,10 +169,7 @@ section in the [Arvo documentation](/docs/arvo/arvo).
176
169
177#### Examples
170#### Examples
178
171
179−```hoon
172+![arvo card examples](https://media.urbit.org/docs/userspace/gall-guide/arvo-cards.svg)
180−[%pass /some/wire %arvo %b %wait (add ~m1 now.bowl)]
181−[%pass /some/wire %arvo %e %connect /some/url/path %some-agent]
182−```
183
173
184## `%give`
174## `%give`
185
175
@@ -218,10 +208,7 @@ if it does not. Therefore, you would not explicitly produce a `%watch-ack` or
218
208
219#### Examples
209#### Examples
220
210
221−```hoon
211+![ack card examples](https://media.urbit.org/docs/userspace/gall-guide/ack-cards.svg)
222−[%give %watch-ack `~[leaf+"foo" leaf+"bar"]]
223−[%give %poke-ack `~[leaf+"foo" leaf+"bar"]]
224−```
225
212
226### Subscriptions
213### Subscriptions
227
214
@@ -241,10 +228,7 @@ receive the `%fact`. The `cage` is the data itself - a cell of a `mark` and a
241
228
242#### Examples
229#### Examples
243
230
244−```hoon
231+![gift card examples](https://media.urbit.org/docs/userspace/gall-guide/gift-cards.svg)
245−[%give %fact ~[/some/path /another] %some-mark !>('some data')]
246−[%give %kick ~[/some/path /another] `~some-ship]
247−```
248
232
249## Summary
233## Summary
250
234