Skip to content

Nested markdown lists are not rendered as nested list #1594

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

Closed
lo48576 opened this issue Jan 15, 2022 · 3 comments
Closed

Nested markdown lists are not rendered as nested list #1594

lo48576 opened this issue Jan 15, 2022 · 3 comments

Comments

@lo48576
Copy link

lo48576 commented Jan 15, 2022

Summary

Nested markdown lists as below are not rendered as nested lists, but as single-level lists.

Source:

//! * foo
//!     + bar
//!     + baz

Expected output:

  • foo
    • bar
    • baz

Actual output:

  • foo + bar + baz

Reproduced example

This section in iri-string v0.5.0-beta.1.

On docs.rs:
screenshot-2022-01-16-080732+0900

Local cargo doc:
screenshot-2022-01-16-080835+0900

@syphar
Copy link
Member

syphar commented Jan 16, 2022

docs.rs uses the nightly compiler to build the docs.

When I use nightly locally with cargo doc, I can reproduce the issue you are seeing.

So this looks like a bug / changed behaviour in rustdoc, or am I missing something?

cc @GuillaumeGomez

@GuillaumeGomez
Copy link
Member

This is a regression. Please open an issue on the rust repository and I'll try to fix it as soon as possible.

@lo48576
Copy link
Author

lo48576 commented Jan 16, 2022

Thank you. Reported at rust-lang/rust repository.

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

No branches or pull requests

3 participants