question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

List parsing requests

See original GitHub issue

Hello again, and thanks one more time for this great tool. I am having some minor troubles with bullet point lists; consider the following Markdown:

First List
- this is
- the first list
  - and this is
  - its sublist
- moving on.
  
Second List

- this is
- the second list
  - and this is
  - its sublist
- moving on.

Third List

- this is
- the third list
    - and this is
    - its sublist
- moving on.

You will notice that only the third list is parsed as intended by Mistletoe:

  1. The first one is not parsed at all because (I think) it is not preceded by a paragraph
  2. The sublist of the second list is not recognized because it looks like 4 spaces of indentation are required.

I would prefer if any new level of indentation would be recognized as starting a sublist, and it would be great if a new paragraph was not required before a bullet point list.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
miyuchinacommented, Apr 24, 2018

Should be fixed! Two spaces or more make a sublist. Will include in the next release (I’m thinking some time around end of this month?)

0reactions
huettenhaincommented, Apr 24, 2018

Again, I can only stress how grateful I am for the library and your quick response to requests. Please don’t worry and take your time. Thanks again!

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - parsing and getting list from response of get request
I'm trying to parse a website with ...
Read more >
Analyzing and Parsing Requests - Wallarm Documentation
Analyzing and parsing requests¶. For an effective request analysis, Wallarm follows the principles: Work with the same data as the protected application.
Read more >
Python Parse JSON response using requests library - PYnative
In this article, we will learn how to parse a JSON response using the requests library. For example, we are using a requests...
Read more >
HttpPost unable to parse LIST of JSON data
List <contacts> contactsList = (List<contacts>)JSON.deserializeStrict(req.toString(), contacts.class);. Should be: request contactsList ...
Read more >
Pulling Data with Requests - KishStats
Once we use requests to fetch the HTML for us, we need some way of parsing it to get the specific data that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found