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

Option to preserve list_token from input #59

Closed
barafael opened this issue Sep 24, 2023 · 1 comment
Closed

Option to preserve list_token from input #59

barafael opened this issue Sep 24, 2023 · 1 comment

Comments

@barafael
Copy link

Generally in markdown list context - and * mean the same, I guess. However, there are tools which discern between them, such as MARP (discussed here: https://marpit.marp.app/fragmented-list?id=fragmented-list, essentially * is used for fragmented list while - is used for bullet list).

It would be cool if this crate would support recreating the list_token from the input.

There seem to be a number of other issues discussing similar problems (#16 and #20), and it seems like a relatively challenging problem.

@Byron
Copy link
Owner

Byron commented Sep 24, 2023

Thanks for sharing!

I was about to mark it as enhancement with 'help wanted' when I realized that pulldown-cmark degenerates list items so that it's impossible to know. I think if it was possible, this crate would definitely have used that information as the goal is to be as close to the original as possible when rendering markdown events.

As it's currently impossible to do this and to prevent his issue from just hanging around, I am closing it.
However, I hope that one day there is a way. Thanks for your understanding.

@Byron Byron closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2023
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

2 participants