Is it possible to extract the content of previous markdown cell in the next code cell?
On Monday, October 30, 2017 at 1:38:51 PM UTC-5, Denis Akhiyarov wrote: > > 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/553395e2-ccb0-49cf-bf97-eab3fe9b58a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
