@@ -113,7 +113,7 @@ Set a Default Collation on a Collection
113113~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114114
115115In the following example, we create a new collection called ``souvenirs`` and
116- assign a default collation with the "`` fr_CA``" locale. The collation applies
116+ assign a default collation with the ``" fr_CA"`` locale. The collation applies
117117to all :manual:`operations that support collation
118118</reference/collation/#operations-that-support-collation>` performed on that
119119collection.
@@ -125,16 +125,16 @@ collection.
125125
126126Any of the operations that support collations automatically apply the collation
127127defined on the collection. The query below searches the ``souvenirs``
128- collection and applies the "`` fr_CA``" locale collation:
128+ collection and applies the ``" fr_CA"`` locale collation:
129129
130130.. literalinclude:: /code-snippets/collation/collection-auto-collation.js
131131 :language: javascript
132132 :start-after: start auto collation
133133 :end-before: end auto collation
134134
135135You can specify a different collation as a parameter in an operation that
136- supports collations. The following query specifies the "``is``" Iceland locale
137- and ``caseFirst`` optional parameter with the value "`` upper``" :
136+ supports collations. The following query specifies the ``"is"`` Iceland locale
137+ and ``caseFirst`` optional parameter with the value ``" upper"`` :
138138
139139.. literalinclude:: /code-snippets/collation/collection-specify-collation.js
140140 :language: javascript
@@ -145,7 +145,7 @@ Assign a Collation to an Index
145145~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146146
147147In the following example, we create a new index on the ``title`` field of
148- a collection with a collation set to the "`` en_US``" locale.
148+ a collection with a collation set to the ``" en_US"`` locale.
149149
150150.. literalinclude:: /code-snippets/collation/index-collation.js
151151 :language: javascript
@@ -186,7 +186,7 @@ find() and sort() Example
186186
187187The following example calls both ``find()`` and ``sort()`` on a collection
188188that uses the default binary collation. We use the German collation by
189- setting the value of the ``locale`` parameter to ``de ``.
189+ setting the value of the ``locale`` parameter to ``"de" ``.
190190
191191.. literalinclude:: /code-snippets/collation/find-sort-collation.js
192192 :language: javascript
@@ -274,7 +274,7 @@ documents:
274274
275275If you perform the same operation without collation on the original
276276collection of three documents, it matches documents based on the lexical value
277- of the strings ("``16``", "``84``" , and "`` 179``" ), and deletes the first
277+ of the strings (``"16"``, ``"84"`` , and ``" 179"`` ), and deletes the first
278278document it finds that matches the query criteria.
279279
280280.. literalinclude:: /code-snippets/collation/findOneAndDelete-no-collation.js
@@ -283,7 +283,7 @@ document it finds that matches the query criteria.
283283 :end-before: end findOneAndDelete no collation
284284
285285Since all the documents contain lexical values in the ``a`` field that
286- match the criteria (greater than the lexical value of "`` 100``" ), the operation
286+ match the criteria (greater than the lexical value of ``" 100"`` ), the operation
287287removes the first result. After you run the operation above, the collection
288288contains the following documents:
289289
@@ -302,7 +302,7 @@ array of pipeline stages.
302302The following example shows an aggregation pipeline on a collection that uses
303303the default binary collation. The aggregation groups the ``first_name`` field,
304304counts the total number of results in each group, and sorts the results by
305- the German phonebook (``de@collation=phonebook`` locale) order.
305+ the German phonebook (``" de@collation=phonebook" `` locale) order.
306306
307307.. note::
308308
0 commit comments