shurcooL/markdownfmt

Don't override user's personal preference for table header separators

exalted opened this issue · 4 comments

I kinda am okay how you wanted to change header separator line from | --- | to |---|, but do you think could you keep user's preferred styling instead of overriding it? I personally do prefer leaving a single space before and after ---. (This is also true for alignment statements, such as | :--- |, | ---: |, or | :---: |, etc.)

Related to #5

When I was looking up the syntax for Markdown tables (as in, I literally didn't know what the syntax was, and I wanted to learn), at first I couldn't figure out which was the "right way". The GitHub Flavored Markdown help page itself is inconsistent about what to use. Sometimes they include the space, and sometimes not.

So, I picked randomly between the two styles and went with it.

I see, that makes sense. Do you think could you keep user's personal preference table by table instead of forcing yours?

I am quite happy with the current style/formatting of Markdown tables. It's actually a feature of it that I use myself relatively often.

Unfortunately, I will not be able to support customization of input. In this case for tables in particular, I really see little value from doing that (compared to say supporting various styles of headers or bullet points or bold/italic, etc.).

See #6 (comment) for a detailed explanation of my rationale for the general issue.

👍