diff options
author | Greg Maslov <gmaslov@bootis.org> | 2012-03-25 05:03:35 -0400 |
---|---|---|
committer | Greg Maslov <gmaslov@bootis.org> | 2012-03-25 05:03:35 -0400 |
commit | 4a1ba8ce49ffc3c2a154721dc18fc48896f97f59 (patch) | |
tree | b53fcae960d48c8984e1cc41039a5a9369fa8611 /tests/rst-reader.rst | |
parent | 618dc294f93f1865dcdfbfda21003745b4d6b389 (diff) | |
download | pandoc-4a1ba8ce49ffc3c2a154721dc18fc48896f97f59.tar.gz |
Oops! Forgot to munch whitespace / ignore body after directive.
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r-- | tests/rst-reader.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst index d06d70907..abe6d4f69 100644 --- a/tests/rst-reader.rst +++ b/tests/rst-reader.rst @@ -572,9 +572,17 @@ Try changing the default role to a few different things. .. default-role:: math +Doesn't Break Title Parsing +--------------------------- + Inline math: `E=mc^2` or :math:`E=mc^2` or `E=mc^2`:math:. Other roles: :sup:`super`, `sub`:sub:. +.. math:: + \alpha = beta + + E = mc^2 + .. default-role:: sup Some `of` these :sup:`words` are in `superscript`:sup:. @@ -583,3 +591,5 @@ Reset default-role to the default default. .. default-role:: +And now `some-invalid-string-3231231` is nonsense. + |