executablebooks / mdformat

CommonMark compliant Markdown formatter
https://mdformat.rtfd.io
MIT License
413 stars 45 forks source link

Support option to use `*` for bullet lists if preffered. #392

Closed gwpl closed 1 year ago

gwpl commented 1 year ago

Context

Original Daring Fireball specification https://daringfireball.net/ , allows - and * both for bullet lists.

This causes inconsistency, as some people use - some * (which * seems to look more like default in Daring Fireball specification).

Proposal

Provide a flag that allow to canonicalize bullet lists to either * or - according to preference of mdformat user.

Tasks and updates

No response

welcome[bot] commented 1 year ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

hukkin commented 1 year ago

Hello and welcome!

Here's some of my thoughts on adding new conf options: https://github.com/executablebooks/mdformat/issues/283#issuecomment-978155862

I don't think Daring Fireball is a style guide, more like a spec, so don't think we should treat is as such. Also, mdformat supports CommonMark, not John Gruber's Markdown.