aboutsummaryrefslogtreecommitdiff
path: root/test/rst-reader.native
AgeCommit message (Collapse)AuthorFilesLines
2018-08-05RST reader: improve parsing of inline interpreted text roles.John MacFarlane1-1/+1
* Use a Span with class "title-reference" for the default title-reference role. * Use B.text to split up contents into Spaces, SoftBreaks, and Strs for title-reference. * Use Code with class "interpreted-text" instead of Span and Str for unknown roles. (The RST writer has also been modified to round-trip this properly.) * Disallow blank lines in interpreted text. * Backslash-escape now works in interpreted text. * Backticks followed by alphanumerics no longer end interpreted text. Closes #4811.
2018-01-14RST reader: add aligned environment when needed in math.John MacFarlane1-1/+1
rst2latex.py uses an align* environment for math in `.. math::` blocks, so this math may contain line breaks. If it does, we put the math in an `aligned` environment to simulate rst2latex.py's behavior. Closes #4254.
2017-02-26RST reader: support scale and align attributes of images.John MacFarlane1-1/+1
Closes #2662.
2017-02-04Moved tests/ -> test/.John MacFarlane1-0/+335