You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are right bfroehle, thanks!
Actually, it was processed whatever the number of dots in IPython<=0.12. Then big parts of our directives stopped working with 0.13 because we never noticed the mismatch.
Plain copy/paste from prompt will probably avoid this problem, but it when the directive is edited there is a chance to miss the trick.
Well it'd be nice if either the system was a bit more flexible in the
formatting of continuation lines, or, preferably, raised some sort of
syntax error.
You are right bfroehle, thanks!
Actually, it was processed whatever the number of dots in IPython<=0.12.
Then big parts of our directives stopped working with 0.13 because we never
noticed the mismatch.
Plain copy/paste from prompt will probably avoid this problem, but it when
the directive is edited there is a chance to miss the trick.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2995#issuecomment-14407513
.
I closed the issue but I agree, it could be improved.
Another problem is that the continuation string is no longer customizable, which imposes 3 spaces + N dots for everyone (we have 5 spaces in yade's prompt). Not sure it is worth opening an issue though.
with ipython 0.13.1, the sphinx extension process multiline input differently depending on the prompt number typed in the rst files.
It can be reproduced with the ipython_directive.txt of ipython's documentation, playing with line 138.
The original:
The output:
Modified:
Output:
NB: Edited by @bfroehle to add code blocks for clarity.
The text was updated successfully, but these errors were encountered: