jgarber / redcloth

RedCloth is a Ruby library for converting Textile into HTML.
Other
443 stars 113 forks source link

Nested numbered list continuation #43

Open m-aciek opened 6 years ago

m-aciek commented 6 years ago

I'd like to be able express such HTML:

<ol>
  <li>One</li>
  <li>Two
    <ol>
      <li>One</li>
      <li>Two</li>
    </ol>
  </li>
</ol>

<pre><code># Output "Block of code"
say = "Block of code"
puts say</code></pre>

<ol start="2">
  <li>
    <ol start="3">
      <li>Three</li>
    </ol>
  </li>
  <li>Three</li>
</ol>

with Textile syntax. It's not possible for now. I'd like to propose it as a feature request.