Closed kiwi0fruit closed 6 years ago
Or in case of *.md:
---
pandoctools:
out: "%USERPROFILE%\\*.ipynb"
input: True
eval: False
...
@{input=False, echo=False, eval=True}
```py
KNITTY = True
@{input=False, echo=False, eval=False}
KNITTY = False
Such files should have \*.py.md extension in order to be prepended with:
@{input=False, echo=False, eval=True}
KNITTY = True
so that the documents looks like:
pandoctools: out: "%USERPROFILE%\*.ipynb" input: True eval: False ... @{input=False, echo=False, eval=False}
KNITTY = False
And on Hydrogen side: https://github.com/nteract/hydrogen/issues/1343
!!! Add interface like in PySide/PyQt: OS env var or check if module was imported.
make work without ready ()
At the monent Knitty/Hydrogen documents look like this:
Move
to separate file that is prepended to *.py files by pandotools. Then Knitty/Hydrogen documents would look like: