<h3 dir="auto">Issue with current documentation:</h3>
<p dir="auto">In the "Examples" section of <a href="https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex" rel="nofollow">https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex</a>, the lines of code are not formatted correctly. It seems like they are not enclosed in a codeblock.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/79152594/147418412-f9143009-1cff-4893-80e3-b3348965ea28.png"><img src="https://user-images.githubusercontent.com/79152594/147418412-f9143009-1cff-4893-80e3-b3348965ea28.png" alt="image" style="max-width: 100%;"></a></p>
<h3 dir="auto">Idea or request for content:</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Issue with current documentation:</h3>
<p dir="auto">In <a href="https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex" rel="nofollow">https://numpy.org/doc/stable/reference/generated/numpy.ndindex.html#numpy.ndindex</a>, Examples has incorrect format:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# dimensions as individual arguments &gt;&gt;&gt; for index in np.ndindex(3, 2, 1): … print(index) (0, 0, 0) (0, 1, 0) (1, 0, 0) (1, 1, 0) (2, 0, 0) (2, 1, 0)

# same dimensions - but in a tuple (3, 2, 1) &gt;&gt;&gt; for index in np.ndindex((3, 2, 1)): … print(index) (0, 0, 0) (0, 1, 0) (1, 0, 0) (1, 1, 0) (2, 0, 0) (2, 1, 0)"><pre class="notranslate"><code class="notranslate"># dimensions as individual arguments &gt;&gt;&gt; for index in np.ndindex(3, 2, 1): … print(index) (0, 0, 0) (0, 1, 0) (1, 0, 0) (1, 1, 0) (2, 0, 0) (2, 1, 0)

# same dimensions - but in a tuple (3, 2, 1) &gt;&gt;&gt; for index in np.ndindex((3, 2, 1)): … print(index) (0, 0, 0) (0, 1, 0) (1, 0, 0) (1, 1, 0) (2, 0, 0) (2, 1, 0)
</code></pre></div>
<h3 dir="auto">Idea or request for content:</h3>
<p dir="auto"><em>No response</em></p>