Difference between revisions of "Template:Ipynb"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{Download|{{{1}}}|{{{2|}}}|ipynb}} [http://nbviewer.ipython.org/url/{{#replace:{{filepath:{{{1}}}}}|http://|}} (nbviewer)]</includeonly><noinclude> |
− | + | This template can be used to include links to [http://ipython.org IPython] [http://ipython.org/notebook.html notebook] files. It will automatically create a link to the ipython notebook viewer. | |
− | </includeonly><noinclude> | ||
− | This template can be used to include links to | ||
== Usage == | == Usage == | ||
Line 10: | Line 8: | ||
:The name of the notebook file. | :The name of the notebook file. | ||
;''linktext'' | ;''linktext'' | ||
− | :The link text of the link to the notebook viewer. | + | :The link text of the link to the [http://nbviewer.ipython.org/ notebook viewer]. |
== Examples == | == Examples == | ||
− | * <code><nowiki>{{ | + | * <code><nowiki>{{ipynb|SS_2014_PC_ws1_pendulum.ipynb|pendulum.ipynb}}</nowiki></code> {{ipynb|SS_2014_PC_ws1_pendulum.ipynb|pendulum.ipynb}} |
</noinclude> | </noinclude> |
Latest revision as of 12:58, 9 April 2014
This template can be used to include links to IPython notebook files. It will automatically create a link to the ipython notebook viewer.
Usage
{{IPython|notebook|linktext}}
- filename
- The name of the notebook file.
- linktext
- The link text of the link to the notebook viewer.
Examples
{{ipynb|SS_2014_PC_ws1_pendulum.ipynb|pendulum.ipynb}}
pendulum.ipynb (107 KB) (nbviewer)