StampyAI / GDocsRelatedThings

Dumping ground for everything related to GDocs, like the answers parser
0 stars 0 forks source link

fix: Numbered Lists not incremental #58

Open buddy-web3 opened 9 months ago

ChrisRimmer commented 9 months ago

While this does make the markdown a little more clearly human-readable, that's not really a high priority as all the outlets I'm currently aware of are machine-parsed and rendered into other forms.

The markdown spec dictates that numbered lists are allowed to all be prefixed with the same number, and it's up to the renderer to behave correctly so the existing behaviour is entirely supported.

Is this something worth spending extra complexity on?

Sorry if this has already been talked about elsewhere - I'm very out of all of the loops lately :)

buddy-web3 commented 9 months ago

@ChrisRimmer The markdown spec dictates that numbered lists are allowed to all be prefixed with the same number, and it's up to the renderer to behave correctly so the existing behaviour is entirely supported.

ChrisRimmer commented 9 months ago

@ChrisRimmer

markdown does not behave as described when there are new lines between the list items.

Fair enough. Erroneous gaps between list items seems like the more important thing to fix but who am I to dictate, I haven't worked on this in almost a year 😅