What is best practice for writing non-executable code in other (non-Python) 
languages with Jupyter Notebooks?

For example when I use `%%writefile` magic to write Fortran code to 
external file in IPython kernel, then code cell appears to have "broken" 
syntax highlighting (assumed to be Python?).

But if I convert the code cell to markdown cell and configure Fortran code 
inside with "```Fortran```" block, then there is no easy to export this to 
external file like with the first option.

Has anyone resolved this one way or the other or maybe with completely 
different approach?

I cannot use f2py and fortran-magic because the Fortran code is compiled 
into external executable/process.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/fc960eed-e66f-4d17-ada1-1c6f1d36d577%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to