mirror of
https://github.com/donnemartin/data-science-ipython-notebooks.git
synced 2024-03-22 13:30:56 +08:00
Added command to convert a notebook to basic HTML. Added 1.8.7 Ruby switch command, currently used by AWS command lines.
This commit is contained in:
parent
c71f9d379a
commit
4d92c51338
|
@ -10,7 +10,7 @@
|
|||
"* IPython Notebook\n",
|
||||
"* Git\n",
|
||||
"* Ruby\n",
|
||||
"* Jekyll\n"
|
||||
"* Jekyll"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -129,7 +129,10 @@
|
|||
"%%python2\n",
|
||||
"\n",
|
||||
"# Run cells with python3 in a subprocess\n",
|
||||
"%%python3"
|
||||
"%%python3\n",
|
||||
"\n",
|
||||
"# Convert a notebook to a basic HTML file \n",
|
||||
"!ipython nbconvert --to html --template basic file.ipynb "
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -304,6 +307,7 @@
|
|||
"!rvm install 2.1.5\n",
|
||||
"\n",
|
||||
"# Set Ruby version\n",
|
||||
"!rvm --default ruby-1.8.7\n",
|
||||
"!rvm --default ruby-2.1.5\n",
|
||||
"\n",
|
||||
"# Check Ruby version\n",
|
||||
|
|
Loading…
Reference in New Issue
Block a user