Change the syntax highlight specifier.

This commit is contained in:
Simon Forman
2021-11-19 13:56:42 -08:00
parent 4c1ceb4ea8
commit 31c26cd235
7 changed files with 140 additions and 140 deletions
Binary file not shown.
@@ -76,7 +76,7 @@ E.g.:
Implementation
--------------
.. code:: python
.. code:: ipython2
from functools import partial as curry
from itertools import product
@@ -533,10 +533,10 @@ machine transition table.
Says, “Three or more 1s and not ending in 01 nor composed of all 1s.”
.. figure:: omg.svg
:alt: State Machine Graph
.. figure:: attachment:omg.svg
:alt: omg.svg
State Machine Graph
omg.svg
Start at ``a`` and follow the transition arrows according to their
labels. Accepting states have a double outline. (Graphic generated with
@@ -96,8 +96,8 @@ R∘λ = λ∘R = R
</section>
<section id="implementation">
<h2>Implementation<a class="headerlink" href="#implementation" title="Permalink to this headline"></a></h2>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">functools</span> <span class="kn">import</span> <span class="n">partial</span> <span class="k">as</span> <span class="n">curry</span>
<span class="kn">from</span> <span class="nn">itertools</span> <span class="kn">import</span> <span class="n">product</span>
<div class="highlight-ipython2 notranslate"><div class="highlight"><pre><span></span>from functools import partial as curry
from itertools import product
</pre></div>
</div>
<section id="and">
@@ -500,8 +500,8 @@ machine transition table.</p>
</div>
<p>Says, “Three or more 1s and not ending in 01 nor composed of all 1s.”</p>
<figure class="align-default" id="id2">
<img alt="State Machine Graph" src="../_images/omg.svg" /><figcaption>
<p><span class="caption-text">State Machine Graph</span><a class="headerlink" href="#id2" title="Permalink to this image"></a></p>
<img alt="omg.svg" src="notebooks/attachment:omg.svg" /><figcaption>
<p><span class="caption-text">omg.svg</span><a class="headerlink" href="#id2" title="Permalink to this image"></a></p>
</figcaption>
</figure>
<p>Start at <code class="docutils literal notranslate"><span class="pre">a</span></code> and follow the transition arrows according to their
File diff suppressed because one or more lines are too long
+127 -127
View File
File diff suppressed because it is too large Load Diff
@@ -76,7 +76,7 @@ E.g.:
Implementation
--------------
.. code:: python
.. code:: ipython2
from functools import partial as curry
from itertools import product
@@ -533,10 +533,10 @@ machine transition table.
Says, “Three or more 1s and not ending in 01 nor composed of all 1s.”
.. figure:: omg.svg
:alt: State Machine Graph
.. figure:: attachment:omg.svg
:alt: omg.svg
State Machine Graph
omg.svg
Start at ``a`` and follow the transition arrows according to their
labels. Accepting states have a double outline. (Graphic generated with