Is there a way to add Julia, R and python to a single text file like R markdown or a notebook that could be manipulated as a text file? -


stated briefly: have text file can smoothly switch among r, python , julia. of importance, looking way run rather display code

i know possible add python (and many other languages) r markdown http://goo.gl/4w8xib , not sure add julia. possible use notebooks beaker http://beakernotebook.com/ 3 languages (and more) , issue notebooks not fast manipulate compared can done text file in editor environment (sublime, emacs, vim, atom ...). know little notebooks, , ones know of represented json files, manipulating json file write report user friendly.

i'm missing obvious, other way this? thanks

with restructured text, there support including code samples, each code-block directive can include relevant language.

.. code-block:: ruby     ruby code. 

markdown also supports mentioning language each code block, e.g.:

```javascript var s = "javascript syntax highlighting"; alert(s); ```  ```python s = "python syntax highlighting" print s ```  ``` no language indicated, no syntax highlighting.  let's throw in <b>tag</b>. ``` 

Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -