Previously the indentation of the first line was stripped, so lines with less indentation lost all their leading whitespace. Now, as in docutils, the minimum indentation is stripped and relative indentation is preserved. Closes #12071. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
194 B
194 B
% pandoc -f rst -t native
.. math::
q_3
+ 4
- 5 +
q_5
end
^D
[ Para
[ Math DisplayMath "q_3\n + 4"
, Math DisplayMath "- 5 +\n q_5"
]
, Para [ Str "end" ]
]