Skip to content

Commit c8773ab

Browse files
authored
readme formatting fixes
1 parent d7bec79 commit c8773ab

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

README.rst

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -187,30 +187,30 @@ Extras
187187
Extensions
188188
----------
189189

190-
+--------------+----------------------------------------------+
191-
| name | Example |
192-
+==============+==============================================+
193-
| len | - $.objects.`len` |
194-
+--------------+----------------------------------------------+
195-
| sub | - $.field.`sub(/foo\\\\+(.*)/, \\\\1)` |
196-
+--------------+----------------------------------------------+
197-
| split | - $.field.`split(+, 2, -1)` |
198-
| | - $.field.`split(sep, segement, maxsplit)` |
199-
+--------------+----------------------------------------------+
200-
| sorted | - $.objects.`sorted` |
201-
| | - $.objects[\\some_field] |
202-
| | - $.objects[\\some_field,/other_field] |
203-
+--------------+----------------------------------------------+
204-
| filter | - $.objects[?(@some_field > 5)] |
205-
| | - $.objects[?some_field = "foobar")] |
206-
| | - $.objects[?some_field =~ "foobar")] |
207-
| | - $.objects[?some_field > 5 & other < 2)] |
208-
+--------------+----------------------------------------------+
209-
| arithmetic | - $.foo + "_" + $.bar |
210-
| (-+*/) | - $.foo * 12 |
211-
| | - $.objects[*].cow + $.objects[*].cat |
212-
+--------------+----------------------------------------------+
213-
190+
+--------------+-----------------------------------------------+
191+
| name | Example |
192+
+==============+===============================================+
193+
| len | - ``$.objects.`len``` |
194+
+--------------+-----------------------------------------------+
195+
| sub | - ``$.field.`sub(/foo\\\\+(.*)/, \\\\1)``` |
196+
+--------------+-----------------------------------------------+
197+
| split | - ``$.field.`split(+, 2, -1)``` |
198+
| | - ``$.field.`split(sep, segement, maxsplit)```|
199+
+--------------+-----------------------------------------------+
200+
| sorted | - ``$.objects.`sorted``` |
201+
| | - ``$.objects[\\some_field]`` |
202+
| | - ``$.objects[\\some_field,/other_field]`` |
203+
+--------------+-----------------------------------------------+
204+
| filter | - ``$.objects[?(@some_field > 5)]`` |
205+
| | - ``$.objects[?some_field = "foobar")]`` |
206+
| | - ``$.objects[?some_field =~ "foobar")]`` |
207+
| | - ``$.objects[?some_field > 5 & other < 2)]`` |
208+
+--------------+-----------------------------------------------+
209+
| arithmetic | - ``$.foo + "_" + $.bar`` |
210+
| (-+*/) | - ``$.foo * 12`` |
211+
| | - ``$.objects[*].cow + $.objects[*].cat`` |
212+
+--------------+-----------------------------------------------+
213+
-
214214
About arithmetic and string
215215
---------------------------
216216

@@ -228,10 +228,10 @@ Example with data::
228228
'fish': 'bar'
229229
}
230230

231-
| **cow + fish** returns **cowfish**
232-
| **$.cow + $.fish** returns **foobar**
233-
| **$.cow + "_" + $.fish** returns **foo_bar**
234-
| **$.cow + "_" + fish** returns **foo_fish**
231+
| ``cow + fish`` returns ``cowfish``
232+
| ``$.cow + $.fish`` returns ``foobar``
233+
| ``$.cow + "_" + $.fish`` returns ``foo_bar``
234+
| ``$.cow + "_" + fish`` returns ``foo_fish``
235235
236236
About arithmetic and list
237237
-------------------------
@@ -245,7 +245,7 @@ Example with data::
245245
{'cow': 4, 'cat': 6}
246246
]}
247247

248-
| **$.objects[\*].cow + $.objects[\*].cat** returns **[6, 9]**
248+
| ``$.objects[\*].cow + $.objects[\*].cat`` returns ``[6, 9]``
249249
250250
More to explore
251251
---------------

0 commit comments

Comments
 (0)