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
Right-align Markdown #33
Conversation
Thanks! I don't want the right-align; it's too Markdown-centric imo. Also, please use pytest instead of unittest. |
Would it be okay to add a command-line parameter for the right-align? It'd be very useful for me. I'll add pytest. Do you mean something like this: from pypinfo import core
def test_tabulate():
...
assert tabulated == expected Or just having it as the pytest command for discovery? |
Test looks good. A flag is fine. |
aa05345
to
e4b2a6c
Compare
Updated! https://travis-ci.org/hugovk/pypinfo/builds/313395588 Without
|
e4b2a6c
to
35dfcee
Compare
Rebased on master. |
Can you please open a new PR with just this change? |
There we go: #36. |
Simply adding a colon will align columns nicely in Markdown.
See https://help.github.com/articles/organizing-information-with-tables/#formatting-content-within-your-table
Builds on #23 by including a unit test for this change (eg.). This makes things much easier to develop without going over your quota!
Before
As plaintext:
As rendered Markdown:
After
As plaintext:
As rendered Markdown: