Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V9: support list indentation #360

Open
waldenn opened this issue May 1, 2020 · 2 comments
Open

V9: support list indentation #360

waldenn opened this issue May 1, 2020 · 2 comments

Comments

@waldenn
Copy link
Contributor

waldenn commented May 1, 2020

example

This article or this article uses many list indentations, with some text portions mixed in also. They can serve as a good testing case for the state of list rendering I think.

Currently wtf indents all these list items (ordered or unordered) only to 1 depth level.

@spencermountain
Copy link
Owner

yeah, list indentation is something we should support, but will be a breaking change.
adding to v9 milestone

@spencermountain spencermountain added this to To do in v9 May 10, 2020
@spencermountain spencermountain changed the title indent lists properly V9: support list indentation Dec 29, 2020
@spencermountain
Copy link
Owner

if anyone has any good ideas about how this should work, I'm all-ears.
right now .lists() returns an array of sentences.
Maybe it should be [{depth:n, sentence:s}] or something like that.

or maybe [{sentence:s, children:[]}]

hoping to ship v9 this month

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v9
  
To do
Development

No branches or pull requests

2 participants