Skip to content

Commit 83c926d

Browse files
Merge pull request #2052 from rabbitmq/lukebakken/quote-formatting
Remove extra double quotes
2 parents 40e706a + 7c90109 commit 83c926d

21 files changed

+193
-193
lines changed

tutorials/tutorial-five-dotnet.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Messages sent to a `topic` exchange can't have an arbitrary
5757
`routing_key` - it must be a list of words, delimited by dots. The
5858
words can be anything, but usually they specify some features
5959
connected to the message. A few valid routing key examples:
60-
"`stock.usd.nyse`", "`nyse.vmw`", "`quick.orange.rabbit`". There can be as
60+
`stock.usd.nyse`, `nyse.vmw`, `quick.orange.rabbit`. There can be as
6161
many words in the routing key as you like, up to the limit of 255
6262
bytes.
6363

@@ -78,49 +78,49 @@ In this example, we're going to send messages which all describe
7878
animals. The messages will be sent with a routing key that consists of
7979
three words (two dots). The first word in the routing key
8080
will describe speed, second a colour and third a species:
81-
"`<speed>.<colour>.<species>`".
81+
`<speed>.<colour>.<species>`.
8282

83-
We created three bindings: Q1 is bound with binding key "`*.orange.*`"
84-
and Q2 with "`*.*.rabbit`" and "`lazy.#`".
83+
We created three bindings: Q1 is bound with binding key `*.orange.*`
84+
and Q2 with `*.*.rabbit` and `lazy.#`.
8585

8686
These bindings can be summarised as:
8787

8888
* Q1 is interested in all the orange animals.
8989
* Q2 wants to hear everything about rabbits, and everything about lazy
9090
animals.
9191

92-
A message with a routing key set to "`quick.orange.rabbit`"
92+
A message with a routing key set to `quick.orange.rabbit`
9393
will be delivered to both queues. Message
94-
"`lazy.orange.elephant`" also will go to both of them. On the other hand
95-
"`quick.orange.fox`" will only go to the first queue, and
96-
"`lazy.brown.fox`" only to the second. "`lazy.pink.rabbit`" will
94+
`lazy.orange.elephant` also will go to both of them. On the other hand
95+
`quick.orange.fox` will only go to the first queue, and
96+
`lazy.brown.fox` only to the second. `lazy.pink.rabbit` will
9797
be delivered to the second queue only once, even though it matches two bindings.
98-
"`quick.brown.fox`" doesn't match any binding so it will be discarded.
98+
`quick.brown.fox` doesn't match any binding so it will be discarded.
9999

100100
What happens if we break our contract and send a message with one or
101-
four words, like "`orange`" or "`quick.orange.new.rabbit`"? Well,
101+
four words, like `orange` or `quick.orange.new.rabbit`? Well,
102102
these messages won't match any bindings and will be lost.
103103

104-
On the other hand "`lazy.orange.new.rabbit`", even though it has four
104+
On the other hand `lazy.orange.new.rabbit`, even though it has four
105105
words, will match the last binding and will be delivered to the second
106106
queue.
107107

108108
> #### Topic exchange
109109
>
110110
> Topic exchange is powerful and can behave like other exchanges.
111111
>
112-
> When a queue is bound with "`#`" (hash) binding key - it will receive
112+
> When a queue is bound with `#` (hash) binding key - it will receive
113113
> all the messages, regardless of the routing key - like in `fanout` exchange.
114114
>
115-
> When special characters "`*`" (star) and "`#`" (hash) aren't used in bindings,
115+
> When special characters `*` (star) and `#` (hash) aren't used in bindings,
116116
> the topic exchange will behave just like a `direct` one.
117117
118118
Putting it all together
119119
-----------------------
120120

121121
We're going to use a `topic` exchange in our logging system. We'll
122122
start off with a working assumption that the routing keys of logs will
123-
have two words: "`<facility>.<severity>`".
123+
have two words: `<facility>.<severity>`.
124124

125125
The code is almost the same as in the
126126
[previous tutorial](./tutorial-four-dotnet).
@@ -210,14 +210,14 @@ cd ReceiveLogsTopic
210210
dotnet run "#"
211211
```
212212

213-
To receive all logs from the facility "`kern`":
213+
To receive all logs from the facility `kern`:
214214

215215
```bash
216216
cd ReceiveLogsTopic
217217
dotnet run "kern.*"
218218
```
219219

220-
Or if you want to hear only about "`critical`" logs:
220+
Or if you want to hear only about `critical` logs:
221221

222222
```bash
223223
cd ReceiveLogsTopic
@@ -231,7 +231,7 @@ cd ReceiveLogsTopic
231231
dotnet run "kern.*" "*.critical"
232232
```
233233

234-
And to emit a log with a routing key "`kern.critical`" type:
234+
And to emit a log with a routing key `kern.critical` type:
235235

236236
```bash
237237
cd EmitLogTopic

tutorials/tutorial-five-elixir.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Messages sent to a `topic` exchange can't have an arbitrary
5757
`routing_key` - it must be a list of words, delimited by dots. The
5858
words can be anything, but usually they specify some features
5959
connected to the message. A few valid routing key examples:
60-
"`stock.usd.nyse`", "`nyse.vmw`", "`quick.orange.rabbit`". There can be as
60+
`stock.usd.nyse`, `nyse.vmw`, `quick.orange.rabbit`. There can be as
6161
many words in the routing key as you like, up to the limit of 255
6262
bytes.
6363

@@ -78,49 +78,49 @@ In this example, we're going to send messages which all describe
7878
animals. The messages will be sent with a routing key that consists of
7979
three words (two dots). The first word in the routing key
8080
will describe a celerity, second a colour and third a species:
81-
"`<celerity>.<colour>.<species>`".
81+
`<celerity>.<colour>.<species>`.
8282

83-
We created three bindings: Q1 is bound with binding key "`*.orange.*`"
84-
and Q2 with "`*.*.rabbit`" and "`lazy.#`".
83+
We created three bindings: Q1 is bound with binding key `*.orange.*`
84+
and Q2 with `*.*.rabbit` and `lazy.#`.
8585

8686
These bindings can be summarised as:
8787

8888
* Q1 is interested in all the orange animals.
8989
* Q2 wants to hear everything about rabbits, and everything about lazy
9090
animals.
9191

92-
A message with a routing key set to "`quick.orange.rabbit`"
92+
A message with a routing key set to `quick.orange.rabbit`
9393
will be delivered to both queues. Message
94-
"`lazy.orange.elephant`" also will go to both of them. On the other hand
95-
"`quick.orange.fox`" will only go to the first queue, and
96-
"`lazy.brown.fox`" only to the second. "`lazy.pink.rabbit`" will
94+
`lazy.orange.elephant` also will go to both of them. On the other hand
95+
`quick.orange.fox` will only go to the first queue, and
96+
`lazy.brown.fox` only to the second. `lazy.pink.rabbit` will
9797
be delivered to the second queue only once, even though it matches two bindings.
98-
"`quick.brown.fox`" doesn't match any binding so it will be discarded.
98+
`quick.brown.fox` doesn't match any binding so it will be discarded.
9999

100100
What happens if we break our contract and send a message with one or
101-
four words, like "`orange`" or "`quick.orange.new.rabbit`"? Well,
101+
four words, like `orange` or `quick.orange.new.rabbit`? Well,
102102
these messages won't match any bindings and will be lost.
103103

104-
On the other hand "`lazy.orange.new.rabbit`", even though it has four
104+
On the other hand `lazy.orange.new.rabbit`, even though it has four
105105
words, will match the last binding and will be delivered to the second
106106
queue.
107107

108108
> #### Topic exchange
109109
>
110110
> Topic exchange is powerful and can behave like other exchanges.
111111
>
112-
> When a queue is bound with "`#`" (hash) binding key - it will receive
112+
> When a queue is bound with `#` (hash) binding key - it will receive
113113
> all the messages, regardless of the routing key - like in `fanout` exchange.
114114
>
115-
> When special characters "`*`" (star) and "`#`" (hash) aren't used in bindings,
115+
> When special characters `*` (star) and `#` (hash) aren't used in bindings,
116116
> the topic exchange will behave just like a `direct` one.
117117
118118
Putting it all together
119119
-----------------------
120120

121121
We're going to use a `topic` exchange in our logging system. We'll
122122
start off with a working assumption that the routing keys of logs will
123-
have two words: "`<facility>.<severity>`".
123+
have two words: `<facility>.<severity>`.
124124

125125
The code is almost the same as in the
126126
[previous tutorial](./tutorial-four-elixir).
@@ -189,13 +189,13 @@ To receive all the logs run:
189189
mix run receive_logs_topic.exs "#"
190190
```
191191

192-
To receive all logs from the facility "`kern`":
192+
To receive all logs from the facility `kern`:
193193

194194
```bash
195195
mix run receive_logs_topic.exs "kern.*"
196196
```
197197

198-
Or if you want to hear only about "`critical`" logs:
198+
Or if you want to hear only about `critical` logs:
199199

200200
```bash
201201
mix run receive_logs_topic.exs "*.critical"
@@ -207,7 +207,7 @@ You can create multiple bindings:
207207
mix run receive_logs_topic.exs "kern.*" "*.critical"
208208
```
209209

210-
And to emit a log with a routing key "`kern.critical`" type:
210+
And to emit a log with a routing key `kern.critical` type:
211211

212212
```bash
213213
mix run emit_log_topic.exs "kern.critical" "A critical kernel error"

tutorials/tutorial-five-go.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Messages sent to a `topic` exchange can't have an arbitrary
5757
`routing_key` - it must be a list of words, delimited by dots. The
5858
words can be anything, but usually they specify some features
5959
connected to the message. A few valid routing key examples:
60-
"`stock.usd.nyse`", "`nyse.vmw`", "`quick.orange.rabbit`". There can be as
60+
`stock.usd.nyse`, `nyse.vmw`, `quick.orange.rabbit`. There can be as
6161
many words in the routing key as you like, up to the limit of 255
6262
bytes.
6363

@@ -78,49 +78,49 @@ In this example, we're going to send messages which all describe
7878
animals. The messages will be sent with a routing key that consists of
7979
three words (two dots). The first word in the routing key
8080
will describe speed, second a colour and third a species:
81-
"`<speed>.<colour>.<species>`".
81+
`<speed>.<colour>.<species>`.
8282

83-
We created three bindings: Q1 is bound with binding key "`*.orange.*`"
84-
and Q2 with "`*.*.rabbit`" and "`lazy.#`".
83+
We created three bindings: Q1 is bound with binding key `*.orange.*`
84+
and Q2 with `*.*.rabbit` and `lazy.#`.
8585

8686
These bindings can be summarised as:
8787

8888
* Q1 is interested in all the orange animals.
8989
* Q2 wants to hear everything about rabbits, and everything about lazy
9090
animals.
9191

92-
A message with a routing key set to "`quick.orange.rabbit`"
92+
A message with a routing key set to `quick.orange.rabbit`
9393
will be delivered to both queues. Message
94-
"`lazy.orange.elephant`" also will go to both of them. On the other hand
95-
"`quick.orange.fox`" will only go to the first queue, and
96-
"`lazy.brown.fox`" only to the second. "`lazy.pink.rabbit`" will
94+
`lazy.orange.elephant` also will go to both of them. On the other hand
95+
`quick.orange.fox` will only go to the first queue, and
96+
`lazy.brown.fox` only to the second. `lazy.pink.rabbit` will
9797
be delivered to the second queue only once, even though it matches two bindings.
98-
"`quick.brown.fox`" doesn't match any binding so it will be discarded.
98+
`quick.brown.fox` doesn't match any binding so it will be discarded.
9999

100100
What happens if we break our contract and send a message with one or
101-
four words, like "`orange`" or "`quick.orange.new.rabbit`"? Well,
101+
four words, like `orange` or `quick.orange.new.rabbit`? Well,
102102
these messages won't match any bindings and will be lost.
103103

104-
On the other hand "`lazy.orange.new.rabbit`", even though it has four
104+
On the other hand `lazy.orange.new.rabbit`, even though it has four
105105
words, will match the last binding and will be delivered to the second
106106
queue.
107107

108108
> #### Topic exchange
109109
>
110110
> Topic exchange is powerful and can behave like other exchanges.
111111
>
112-
> When a queue is bound with "`#`" (hash) binding key - it will receive
112+
> When a queue is bound with `#` (hash) binding key - it will receive
113113
> all the messages, regardless of the routing key - like in `fanout` exchange.
114114
>
115-
> When special characters "`*`" (star) and "`#`" (hash) aren't used in bindings,
115+
> When special characters `*` (star) and `#` (hash) aren't used in bindings,
116116
> the topic exchange will behave just like a `direct` one.
117117
118118
Putting it all together
119119
-----------------------
120120

121121
We're going to use a `topic` exchange in our logging system. We'll
122122
start off with a working assumption that the routing keys of logs will
123-
have two words: "`<facility>.<severity>`".
123+
have two words: `<facility>.<severity>`.
124124

125125
The code is almost the same as in the
126126
[previous tutorial](./tutorial-four-go).
@@ -299,13 +299,13 @@ To receive all the logs:
299299
go run receive_logs_topic.go "#"
300300
```
301301

302-
To receive all logs from the facility "`kern`":
302+
To receive all logs from the facility `kern`:
303303

304304
```bash
305305
go run receive_logs_topic.go "kern.*"
306306
```
307307

308-
Or if you want to hear only about "`critical`" logs:
308+
Or if you want to hear only about `critical` logs:
309309

310310
```bash
311311
go run receive_logs_topic.go "*.critical"
@@ -317,7 +317,7 @@ You can create multiple bindings:
317317
go run receive_logs_topic.go "kern.*" "*.critical"
318318
```
319319

320-
And to emit a log with a routing key "`kern.critical`" type:
320+
And to emit a log with a routing key `kern.critical` type:
321321

322322
```bash
323323
go run emit_log_topic.go "kern.critical" "A critical kernel error"

tutorials/tutorial-five-java.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Messages sent to a `topic` exchange can't have an arbitrary
5757
`routing_key` - it must be a list of words, delimited by dots. The
5858
words can be anything, but usually they specify some features
5959
connected to the message. A few valid routing key examples:
60-
"`stock.usd.nyse`", "`nyse.vmw`", "`quick.orange.rabbit`". There can be as
60+
`stock.usd.nyse`, `nyse.vmw`, `quick.orange.rabbit`. There can be as
6161
many words in the routing key as you like, up to the limit of 255
6262
bytes.
6363

@@ -78,49 +78,49 @@ In this example, we're going to send messages which all describe
7878
animals. The messages will be sent with a routing key that consists of
7979
three words (two dots). The first word in the routing key
8080
will describe speed, second a colour and third a species:
81-
"`<speed>.<colour>.<species>`".
81+
`<speed>.<colour>.<species>`.
8282

83-
We created three bindings: Q1 is bound with binding key "`*.orange.*`"
84-
and Q2 with "`*.*.rabbit`" and "`lazy.#`".
83+
We created three bindings: Q1 is bound with binding key `*.orange.*`
84+
and Q2 with `*.*.rabbit` and `lazy.#`.
8585

8686
These bindings can be summarised as:
8787

8888
* Q1 is interested in all the orange animals.
8989
* Q2 wants to hear everything about rabbits, and everything about lazy
9090
animals.
9191

92-
A message with a routing key set to "`quick.orange.rabbit`"
92+
A message with a routing key set to `quick.orange.rabbit`
9393
will be delivered to both queues. Message
94-
"`lazy.orange.elephant`" also will go to both of them. On the other hand
95-
"`quick.orange.fox`" will only go to the first queue, and
96-
"`lazy.brown.fox`" only to the second. "`lazy.pink.rabbit`" will
94+
`lazy.orange.elephant` also will go to both of them. On the other hand
95+
`quick.orange.fox` will only go to the first queue, and
96+
`lazy.brown.fox` only to the second. `lazy.pink.rabbit` will
9797
be delivered to the second queue only once, even though it matches two bindings.
98-
"`quick.brown.fox`" doesn't match any binding so it will be discarded.
98+
`quick.brown.fox` doesn't match any binding so it will be discarded.
9999

100100
What happens if we break our contract and send a message with one or
101-
four words, like "`orange`" or "`quick.orange.new.rabbit`"? Well,
101+
four words, like `orange` or `quick.orange.new.rabbit`? Well,
102102
these messages won't match any bindings and will be lost.
103103

104-
On the other hand "`lazy.orange.new.rabbit`", even though it has four
104+
On the other hand `lazy.orange.new.rabbit`, even though it has four
105105
words, will match the last binding and will be delivered to the second
106106
queue.
107107

108108
> #### Topic exchange
109109
>
110110
> Topic exchange is powerful and can behave like other exchanges.
111111
>
112-
> When a queue is bound with "`#`" (hash) binding key - it will receive
112+
> When a queue is bound with `#` (hash) binding key - it will receive
113113
> all the messages, regardless of the routing key - like in `fanout` exchange.
114114
>
115-
> When special characters, "`*`" (star) and "`#`" (hash), aren't used in bindings,
115+
> When special characters, `*` (star) and `#` (hash), aren't used in bindings,
116116
> the topic exchange will behave just like a `direct` one.
117117
118118
Putting it all together
119119
-----------------------
120120

121121
We're going to use a `topic` exchange in our logging system. We'll
122122
start off with a working assumption that the routing keys of logs will
123-
have two words: "`<facility>.<severity>`".
123+
have two words: `<facility>.<severity>`.
124124

125125
The code is almost the same as in the
126126
[previous tutorial](./tutorial-four-java).
@@ -212,13 +212,13 @@ To receive all the logs:
212212
java -cp $CP ReceiveLogsTopic "#"
213213
```
214214

215-
To receive all logs from the facility "`kern`":
215+
To receive all logs from the facility `kern`:
216216

217217
```bash
218218
java -cp $CP ReceiveLogsTopic "kern.*"
219219
```
220220

221-
Or if you want to hear only about "`critical`" logs:
221+
Or if you want to hear only about `critical` logs:
222222

223223
```bash
224224
java -cp $CP ReceiveLogsTopic "*.critical"
@@ -230,7 +230,7 @@ You can create multiple bindings:
230230
java -cp $CP ReceiveLogsTopic "kern.*" "*.critical"
231231
```
232232

233-
And to emit a log with a routing key "`kern.critical`" type:
233+
And to emit a log with a routing key `kern.critical` type:
234234

235235
```bash
236236
java -cp $CP EmitLogTopic "kern.critical" "A critical kernel error"

0 commit comments

Comments
 (0)