-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reStructuredText writer wraps line blocks incorrectly #1656
Comments
On second thoughts, adding two spaces is probably nicer so it aligns with the
With current pandoc's output:
|
Do you have a pointer on where to start if I was going submit a patch with the line wrapping? One strategy would be to set the column width to 2 less for the block, do a normal line wrap, then prepend 2 spaces to every line except the first, which would use |
I just realized there's an easy way to do it, and I +++ Ximin Luo [Sep 30 14 04:02 ]:
|
Seems to work nicely :) thanks! |
However, according to the rst cheat sheet the continuation lines are supposed to have a space in front of them. Indeed, using
rst2html
on pandoc's output gives some warnings and a bad resulting html; manually adding a space in front of all of the wrapped lines fixes the problem.The text was updated successfully, but these errors were encountered: