-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
Lists not converting to *, but - instead #135
Comments
Latest commonmark specs says that lists must start with a "bullet list marker" which can be -, + or *. http://spec.commonmark.org/0.28/#list-items So I guess html-to-markdown behaves as expected, but giving you less options. Maybe we should have a config param to set the marker type? Is that what you want? |
Ah, common mark. Wasn't aware that was a thing. Yes, |
You can instantiate your own ListConverter and use |
I think that's a great idea! |
Will try and do this one |
This feature is now available in 4.5.0: https://github.com/thephpleague/html-to-markdown/releases/tag/4.5.0 Thank you @manavo for implementing it! |
Wow, thanks |
I think I must be missing a step.
This HTML:
Is converting to:
I'm expecting it to come out as:
Are my expectations correct or am I misunderstanding something?
The text was updated successfully, but these errors were encountered: