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

Nested lists rendering #601

Closed
villanella opened this issue Sep 13, 2023 · 5 comments
Closed

Nested lists rendering #601

villanella opened this issue Sep 13, 2023 · 5 comments

Comments

@villanella
Copy link

villanella commented Sep 13, 2023

Doorstop-server can't render nested lists without empty lines.

For example,

1. Item 1
2. Item 2
  2.1. Item 2.1
    2.1.1. Item 2.1.1
3. Item 3

This is rendered as:

1. Item 1
2. Item 2 2.1. Item 2.1 2.1.1. Item 2.1.1
3. Item 3

All nested items are concatenated into one line.

Yet another example:

1. Item 1
    1. Item 1.1
    2. Item 1.2
2. Item 2
    1. Item 2.1

This nested items are rendered as simple, not nested, list:

1. Item 1
2. Item 1.1
3. Item 1.2
4. Item 2
5. Item 2.1

Expected behavior: support of nested lists made by indents and numbers.
Workaround: to use extra empty lines between items.

Used version - Doorstop v3.0b4 (markdown is default itemformat).

@JustinW80
Copy link
Contributor

I think this might be related to #589, where the template theme is missing from versions after v3.0b4.

@villanella
Copy link
Author

The assets folder exists, the result is the same in my v3.0b4 version and in stable version.

@neerdoc
Copy link
Collaborator

neerdoc commented Jan 1, 2024

I'm working on a fix for this now. Please note though, that correctly numbered lists in markdown requires four (4) spaces as indentation, so the first example does not work even for markdown publishing.

@jacebrowning
Copy link
Member

This beta release contains a fix for this issue: https://pypi.org/project/doorstop/3.0b11/ cc @neerdoc

@neerdoc
Copy link
Collaborator

neerdoc commented Jan 26, 2024

Fixed by #615

@neerdoc neerdoc closed this as completed Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants