Comments (5)
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.
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.
Oh I fixed it on the dev branch because you posted this issue--sorry that wasn't clear!
from mistletoe.
Oh! Well in that case, thank you!
from mistletoe.
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)
- Parsing error in a specific case HOT 3
- TypeError: 'str' object is not an iterator, when using example in docs HOT 2
- **`what`:** gives odd output HOT 3
- Support of Smart punctuation / Simple typographic replacements HOT 3
- 0.8.2: pytest is failing in `test/test_contrib/test_github_wiki.py::TestGithubWiki::test_parse` unit and `DeprecationWarning` warnings HOT 5
- Record line numbers on tokens HOT 6
- Unused imports HOT 1
- question: how to render AST back to a markdown string HOT 1
- LaTeX renderer does not handle inline code with vertical bars correctly HOT 2
- pikchr integration? HOT 1
- Question: Inconsistencies in the block tokens HOT 2
- Enable tables which interrupt a paragraph (like GFM does) HOT 5
- IndexError on malformed markdown tables HOT 1
- Emphasis around link ignored when followed by a special punctuation character HOT 1
- Don't convert the quotes HOT 3
- Contrib sub-package is missing in the mistletoe 1.0.0 PyPI version HOT 3
- Question how to modify ast and write back out as markdown HOT 2
- Do not escape double or single quotes by default HOT 1
- Use strict PascalCase for class names HOT 3
- Renderer for Natural Docs HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mistletoe.