-
-
Notifications
You must be signed in to change notification settings - Fork 507
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
Allow indent to use other options than left and hanging #44
Conversation
I like this actually, it makes more sense Does this change the API for the user? If so, then it has to be a |
It would have to be a 3.0.0 release. If someone is currently using Do you know when you would release 3.0.0? I may submit another non-breaking PR to allow |
I think it will be a little longer because I want to make it so you create a:
which would be breaking I say this cos Microsoft Word has an odd way to handle images, by having references to other files. The
|
How about creating two methods, one old and one new, and when 3.0.0 comes out, remove the old one? |
This is a backwards compatible fix while a better (but breaking) fix is here dolanmiu#44.
Done, this other PR will get me by until 3.0 is out. Thank you. |
This is a breaking change. Existing code using indent will break when padding in the number for left.
9e65bf3
to
3a7f905
Compare
Thanks. Will bump version now |
This was the incompatible version! The other PR #45 is compatible with 2.x. Can you revert? |
Oh god |
|
|
This is a breaking change. Existing code using indent will break when padding in the number for left.
If you don't like this breaking change I can submit another PR that just adds a 3rd parameter after
hanging
for thefirstLine
attribute. This attribute is the most common afterleft
IMO, and the attribute I need. Book manuscripts indent the first line of each paragraph. I made this bigger change because I felt like 3 arguments, all optional, starts to get messy.Please advise.