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

Support new task list in rust doc available since v. 1.52.0 #8821

Closed
FrankenApps opened this issue May 13, 2021 · 2 comments · Fixed by #8823
Closed

Support new task list in rust doc available since v. 1.52.0 #8821

FrankenApps opened this issue May 13, 2021 · 2 comments · Fixed by #8823

Comments

@FrankenApps
Copy link

This is just a minor feature request, that I wanted to report, because I have not seen anything about this here for now.

Rust 1.52.0 added support for "task lists", can also be found in the changelog.

Unfortunately it seems rust-analyzer does not support this yet?

At least in vscode I found it to produce this:
overlay
code

This is how it looks in rustdoc:

rustdoc

@bjorn3
Copy link
Member

bjorn3 commented May 13, 2021

It is up to the editor to display the markdown. Rust-analyzer makes a couple of changes to the raw markdown to turn for example ``` into ```rust, but there is nothing it can turn task lists into to make the editor suddenly support it. Vscode will need to gain support for task lists.

@Veykril
Copy link
Member

Veykril commented May 13, 2021

We do want to change the pulldown_cmark options to include Options::ENABLE_TASKLISTS though as to not turn the tasks into links as seen in the screenshot.

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

Successfully merging a pull request may close this issue.

3 participants