-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Use of """ in docstrings does not work in org src block #561
Comments
testing a little more I found that a possible cause of this is setting the option :dir (which I had set in the #+PROPERTY: in the example above).
without :dir, it works fine
Also, this happens in similar way:
here, removing the :dir flag works, but also adding a newline or a space after the
|
Thanks for reporting. I believe I've fixed it. |
Thanks a lot, I'll give it a try! |
closes emacs-jupyter#561 * jupyter-python.el (org-babel-jupyter-transform-code): Do it. * test/jupyter-test.el (org-babel-jupyter-:dir-header-arg): New test.
I wanted to share this issue I recently found. Not sure this has been discussed already.
Here a simple example of code that generate an error:
The way I found to avoid this is to replace """ with '''.
I believe the use of """ is recommended or at least very common.
Is there a way to fix this? Or there's something broken in my org config.
Thanks!
The text was updated successfully, but these errors were encountered: