Files
pandoc/test/command/5753.md
T
John MacFarlaneandClaude Opus 5.5 556a25b408 RST reader: strip minimum indentation from indented blocks.
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>
2026-11-10 18:30:31 -08:00

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" ]
]