Giter VIP home page Giter VIP logo

Comments (5)

miyuchina avatar miyuchina commented on May 27, 2024

Hmm, so the example is working now:

mistletoe [version 0.6.1] (interactive)
Type Ctrl-D to complete input, or Ctrl-C to exit.
>>> - item a
...   - subitem 1
...   - subitem 2
... - item b
... - item c
...
<ul>
<li>item a
<ul>
<li>subitem 1
</li>
<li>subitem 2
</li>
</ul>
</li>
<li>item b
</li>
<li>item c
</li>
</ul>

But the loose list / tight list thing is not completely spec compliant, and requires more thought. I'll leave this issue open until I can resolve this.

from mistletoe.

huettenhain avatar huettenhain commented on May 27, 2024

Also, you are on 0.6.1 which I think is the dev branch - I was on 0.6. I checked it on dev and indeed, I get the same version number and the same behavior as you do. You can close this out whenever you like.

from mistletoe.

miyuchina avatar miyuchina commented on May 27, 2024

Oh I fixed it on the dev branch because you posted this issue--sorry that wasn't clear!

from mistletoe.

huettenhain avatar huettenhain commented on May 27, 2024

Oh! Well in that case, thank you! 😄 I was afraid that I hat tested on the wrong branch is all.

from mistletoe.

miyuchina avatar miyuchina commented on May 27, 2024

I found a better solution. The output of the example above does not change, but it handles other corner cases better. Closing this issue for now!

from mistletoe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.