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

Add options to choose text-wrapping styles #3

Open
audreytoskin opened this issue Mar 20, 2017 · 3 comments
Open

Add options to choose text-wrapping styles #3

audreytoskin opened this issue Mar 20, 2017 · 3 comments

Comments

@audreytoskin
Copy link

audreytoskin commented Mar 20, 2017

By default, Magic Reflow will wrap Markdown list items with a hanging indent of two or more spaces. I personally like this, even though I generally use tabs for block indentation. However, it occurs to me other users might prefer to also use tabs for hanging indentation, or no hanging indent at all.

Similarly for Markdown blockquotes: Some users will prefer to put the right angle brackets (> ) at the beginning of each line, others may prefer to only put the angle bracket on the first line. Among users who only mark the first line of a blockquote, users might like to apply hanging indent, and others may not.

I also personally think Markdown hyperlinks are easier to read if you keep them as a single line, so when wrapping Markdown paragraphs, I often make an exception to the line length limit for links that include a long URL.

@josh-berry
Copy link
Owner

The blockquote thing (as you described in issue #2) is definitely a bug; I don't know that I've ever seen anyone wrap quotes by putting a > just at the beginning of the first line. Fortunately that should be an easy fix.

I think/hope I've addressed the spaces-vs.-tabs question in issue #2.

@audreytoskin
Copy link
Author

audreytoskin commented Mar 20, 2017

I guess I don't know how common this is, but I usually just use a single > for a blockquote paragraph, because I find all those sharp angles a little distracting. I'm not the only one, though. I've seen at least a couple other projects that do single-angle-bracket-on-first-line-style blockquotes.

@audreytoskin
Copy link
Author

There are several valid ways to format a Markdown blockquote (one angle bracket at the beginning of the paragraph or one at the beginning of each line? hanging indents or no? spaces or tabs or a mix?) and list items (hanging indents or no? spaces or tabs or a mix? for unordered lists, asterisks or hyphens?). This wiggle room means that people are going to make different decisions on their preferred formatting.

One or a few formatting styles might be more popular than others, but since it's all just a matter of taste, there won't ever be 100% consensus. So adding options might help.

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