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

View File

@ -76,7 +76,7 @@ E.g.:
Implementation Implementation
-------------- --------------
.. code:: python .. code:: ipython2
from functools import partial as curry from functools import partial as curry
from itertools import product 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.” Says, “Three or more 1s and not ending in 01 nor composed of all 1s.”
.. figure:: omg.svg .. figure:: attachment:omg.svg
:alt: State Machine Graph :alt: omg.svg
State Machine Graph omg.svg
Start at ``a`` and follow the transition arrows according to their Start at ``a`` and follow the transition arrows according to their
labels. Accepting states have a double outline. (Graphic generated with labels. Accepting states have a double outline. (Graphic generated with

View File

@ -96,8 +96,8 @@ R∘λ = λ∘R = R
</section> </section>
<section id="implementation"> <section id="implementation">
<h2>Implementation<a class="headerlink" href="#implementation" title="Permalink to this headline"></a></h2> <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> <div class="highlight-ipython2 notranslate"><div class="highlight"><pre><span></span>from functools import partial as curry
<span class="kn">from</span> <span class="nn">itertools</span> <span class="kn">import</span> <span class="n">product</span> from itertools import product
</pre></div> </pre></div>
</div> </div>
<section id="and"> <section id="and">
@ -500,8 +500,8 @@ machine transition table.</p>
</div> </div>
<p>Says, “Three or more 1s and not ending in 01 nor composed of all 1s.”</p> <p>Says, “Three or more 1s and not ending in 01 nor composed of all 1s.”</p>
<figure class="align-default" id="id2"> <figure class="align-default" id="id2">
<img alt="State Machine Graph" src="../_images/omg.svg" /><figcaption> <img alt="omg.svg" src="notebooks/attachment:omg.svg" /><figcaption>
<p><span class="caption-text">State Machine Graph</span><a class="headerlink" href="#id2" title="Permalink to this image"></a></p> <p><span class="caption-text">omg.svg</span><a class="headerlink" href="#id2" title="Permalink to this image"></a></p>
</figcaption> </figcaption>
</figure> </figure>
<p>Start at <code class="docutils literal notranslate"><span class="pre">a</span></code> and follow the transition arrows according to their <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

File diff suppressed because it is too large Load Diff

View File

@ -76,7 +76,7 @@ E.g.:
Implementation Implementation
-------------- --------------
.. code:: python .. code:: ipython2
from functools import partial as curry from functools import partial as curry
from itertools import product 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.” Says, “Three or more 1s and not ending in 01 nor composed of all 1s.”
.. figure:: omg.svg .. figure:: attachment:omg.svg
:alt: State Machine Graph :alt: omg.svg
State Machine Graph omg.svg
Start at ``a`` and follow the transition arrows according to their Start at ``a`` and follow the transition arrows according to their
labels. Accepting states have a double outline. (Graphic generated with labels. Accepting states have a double outline. (Graphic generated with