ipython tutorial content

Writing in Markdown

Here are a few examples of how to write in markdown for Atlas.

Making a Python program executable

Here’s how to make a program executable:

<pre data-executable="true" data-code-language="python">
...
</pre>

Here’s an example:

%pylab inline
x = np.linspace(0, 10, 100)
plt.plot(x, np.sin(x))
plt.plot(x, np.cos(x));

Embedding an equation

Wrap Latex equations in a <span data-type="tex">$$ your latex equation here $$</span>. For example:

$$a^2 + b^2 = c^2$$