Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Support indented/inline line magics #13

Open
bollwyvl opened this issue Jun 7, 2015 · 0 comments
Open

Support indented/inline line magics #13

bollwyvl opened this issue Jun 7, 2015 · 0 comments

Comments

@bollwyvl
Copy link
Owner

bollwyvl commented Jun 7, 2015

Line magics can appear just about anywhere:

however, the whitespace of code generated by hy is not preserved:

(if True
  %ls
)
  File "<ipython-input-17-b11eae11951f>", line 1
    (%ls if True else None)
     ^
SyntaxError: invalid syntax

likely a macro is needed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant