This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Allow Python-code in markdown cells | |
// Encapsulate using {{...}} | |
// - You can also return html or markdown from your Python code | |
// - You can embed images, however they will be sanitized on reload. | |
"use strict"; | |
var pymd_extension = (function() { | |
"use strict"; | |
var security = IPython.security; | |
var _on_reload = true; /* make sure cells with variables render on reload */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"%PYTHON%" setup.py build --compiler=mingw32 | |
"%PYTHON%" setup.py install | |
if errorlevel 1 exit 1 | |
:: Add more build steps here, if they are necessary. | |
:: See | |
:: http://docs.continuum.io/conda/build.html | |
:: for a list of environment variables that are set during the build process. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='ASCII'?> | |
<flow_graph> | |
<timestamp>Sat Jul 26 16:09:06 2014</timestamp> | |
<block> | |
<key>options</key> | |
<param> | |
<key>id</key> | |
<value>top_block</value> | |
</param> | |
<param> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js | |
index 44d4c79..bae3011 100644 | |
--- a/IPython/html/static/notebook/js/codecell.js | |
+++ b/IPython/html/static/notebook/js/codecell.js | |
@@ -259,9 +259,13 @@ var IPython = (function (IPython) { | |
* Execute current code cell to the kernel | |
* @method execute | |
*/ | |
- CodeCell.prototype.execute = function () { | |
+ CodeCell.prototype.execute = function (skip_exceptions) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:3f216d8ac560f66c1a009e0f03595c7c2fc7d117803419f82d21cecb330525eb" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var add_edit_shortcuts = { | |
'shift-enter' : { | |
help : 'run cell, select next codecell', | |
help_index : 'bb', | |
handler : function (event) { | |
IPython.notebook.execute_cell_and_select_below(); | |
// find next CodeCell and go into edit mode if possible, else stay in next cell | |
var i; | |
for (i = IPython.notebook.get_selected_index(); i < IPython.notebook.ncells() ;i++) { | |
var cell = IPython.notebook.get_cell(i); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.nbconvert.preprocessors import * | |
import re | |
class StripDollarSpacesPreprocessor(Preprocessor): | |
"""Remove spaces after leading '$' in math equations. | |
Make sure '$ a=10 $' is converted to '$a=10 $' and not '\$ a=10 \$' | |
when running nbconvert and pandoc | |
""" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.