-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
The following is valid reStructuredText/Sphinx with line-wrapped math directives inside table cells:
Math in Table
=============
+-----------+---------------+---------------+
| Shape | Area | Perimeter |
+===========+===============+===============+
| Circle | :math:`\pi | :math:`2 \pi |
| | r^2` | r` |
+-----------+---------------+---------------+
| Square | :math:`w^2` | :math:`4w` |
+-----------+---------------+---------------+
However, sphinx-lint rejects it with the following error message:
$ sphinx-lint test.rst
test.rst:7: role missing (escaped) space after role: ':math:`\\pi | :math:`2' (missing-space-after-role)
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed