I have a grid table in restructuredText. Is there a way to add a caption to it?
+----------+---------+
|Name |Age |
+==========+=========+
|Bill |39 |
+----------+---------+
|Jane |38 |
+----------+---------+
There's no directive, so it's not like the figures:
.. figure:: strawberryicecream.png
Strawberry Ice Cream
Oh, never mind, the table
directive works. I tried it earlier but didn't indent the table definition properly.
.. table:: Personnel
+----------+---------+
|Name |Age |
+==========+=========+
|Bill |39 |
+----------+---------+
|Jane |38 |
+----------+---------+
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With