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

Fix multiline modifier descriptions on indent #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jho406
Copy link

@jho406 jho406 commented Dec 13, 2013

Hi! I noticed there was support for multi-line modifier descriptions, but it breaks on anything >2 lines.

# Form Button

Your standard form button.

:hover    - Highlights when hovering.
:disabled - Dims the button when disabled.
.primary  - Indicates button is the primary action.
.smaller  - A smaller button
            for
            ants.

Styleguide 2.1.1.

That is unless you change it to this:

.smaller  - A smaller button
            for 
              ants.

This should fix the issue for nice indents.

@jho406
Copy link
Author

jho406 commented Dec 14, 2013

Amended to increment instead. And made the test look a bit nicer.

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

Successfully merging this pull request may close these issues.

1 participant