Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow for alignment of data in columns to be controlled #15
You are (of course) very welcome to take this one on. Thanks for sticking your hand up!
I think having centre alignment would be worthwhile, but I don't think the most important thing is for it to be 100% perfectly centred. For odd numbered widths, it might just be an arbitrary decision as to which way round the asymmetry goes.
The other way to handle this, I guess, would be to force all centre-aligned columns to have an even numbered width. Let's do it the straightforward way first and see how it looks. If it looks janky to have a slight asymmetry, we can always go down this route in the future.
In terms of how to implement this, your approach sounds like it could work, but at present the implicit/default left-align takes place in the